diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 18:31:40 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 18:31:40 -0300 |
| commit | 1e248d3dd18f7c6bfaf8066c4662facbbb89e8f9 (patch) | |
| tree | 8250335d5ad8176da05f7243052b9af85802c7ed /scripts/entities/EntityDefinition.cs | |
| parent | 147bb12b5d48c5432aa1bd1cbe60b8435294445b (diff) | |
Itens na masmorra
Diffstat (limited to 'scripts/entities/EntityDefinition.cs')
| -rw-r--r-- | scripts/entities/EntityDefinition.cs | 7 |
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; |
