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