diff options
Diffstat (limited to 'scripts/map/TileDefinition.cs')
| -rw-r--r-- | scripts/map/TileDefinition.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/map/TileDefinition.cs b/scripts/map/TileDefinition.cs new file mode 100644 index 0000000..548fda7 --- /dev/null +++ b/scripts/map/TileDefinition.cs @@ -0,0 +1,14 @@ +using Godot; +using System; + +[GlobalClass] +public partial class TileDefinition : Resource +{ + [ExportCategory("Visuals")] + [Export] + public Texture2D Texture { get; set; } + + [ExportCategory("Mechanics")] + [Export] + public bool IsWalkable { get; set; } +} |
