summaryrefslogtreecommitdiff
path: root/scripts/map/TileDefinition.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-18 18:43:54 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-18 18:43:54 -0300
commit723e66a82606ee78ca4156a0c0a850185b4c0369 (patch)
tree1aafa29e16a462f812b804e2f3419387ba07b2f2 /scripts/map/TileDefinition.cs
parentc9057bbd88f14a4e0e572c16452c1ab9baebfe2a (diff)
IT'S OVER
Diffstat (limited to 'scripts/map/TileDefinition.cs')
-rw-r--r--scripts/map/TileDefinition.cs14
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; }
+}