diff options
Diffstat (limited to 'scripts/Entities/EntityDefinition.cs')
| -rw-r--r-- | scripts/Entities/EntityDefinition.cs | 23 |
1 files changed, 23 insertions, 0 deletions
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 |
