summaryrefslogtreecommitdiff
path: root/scripts/entities/EntityDefinition.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/EntityDefinition.cs')
-rw-r--r--scripts/entities/EntityDefinition.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/entities/EntityDefinition.cs b/scripts/entities/EntityDefinition.cs
index 19693db..ba7236a 100644
--- a/scripts/entities/EntityDefinition.cs
+++ b/scripts/entities/EntityDefinition.cs
@@ -2,15 +2,18 @@ using Godot;
[GlobalClass]
public partial class EntityDefinition : Resource{
- [ExportCategory("Visuals")]
+ [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("Mechanics")]
+ [ExportCategory("Entity Mechanics")]
// Se a entidade bloqueia movimento.
[Export]
public bool blocksMovement = true;