From c6bbb834f7758027c0df338f1520f34fad3befea Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 9 Sep 2025 19:09:34 -0300 Subject: Organização MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Entities/EntityDefinition.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 scripts/Entities/EntityDefinition.cs (limited to 'scripts/Entities/EntityDefinition.cs') diff --git a/scripts/Entities/EntityDefinition.cs b/scripts/Entities/EntityDefinition.cs new file mode 100644 index 0000000..a6080bd --- /dev/null +++ b/scripts/Entities/EntityDefinition.cs @@ -0,0 +1,23 @@ +using Godot; + +namespace TheLegendOfGustav.Entities; + +[GlobalClass] +public partial class EntityDefinition : Resource +{ + [ExportCategory("Entity Visuals")] + // Nome da entidade. + [Export] + public string name = "unnamed"; + // Seu sprite. + [Export] + public Texture2D texture; + // A camada da entidade. + [Export] + public EntityType Type; + + [ExportCategory("Entity Mechanics")] + // Se a entidade bloqueia movimento. + [Export] + public bool blocksMovement = true; +} \ No newline at end of file -- cgit v1.2.3