From 6f2c2edd52171a4df7f35de695c9b2e7801d3e5f Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 4 Sep 2025 16:58:58 -0300 Subject: Preparação para itens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/entities/EntityDefinition.cs | 17 +++++++++++++++++ 1 file changed, 17 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..19693db --- /dev/null +++ b/scripts/entities/EntityDefinition.cs @@ -0,0 +1,17 @@ +using Godot; + +[GlobalClass] +public partial class EntityDefinition : Resource{ + [ExportCategory("Visuals")] + // Nome da entidade. + [Export] + public string name = "unnamed"; + // Seu sprite. + [Export] + public Texture2D texture; + + [ExportCategory("Mechanics")] + // Se a entidade bloqueia movimento. + [Export] + public bool blocksMovement = true; +} \ No newline at end of file -- cgit v1.2.3