Added basic inventory system
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Godot;
|
||||
namespace Babushka.scripts.CSharp.Common.Inventory;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class ItemResource: Resource
|
||||
{
|
||||
[Export]
|
||||
public string name;
|
||||
|
||||
[Export]
|
||||
public Color color;
|
||||
|
||||
public ItemResource()
|
||||
{
|
||||
name = "";
|
||||
color = Colors.Red;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user