diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 16:58:58 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 16:58:58 -0300 |
| commit | 6f2c2edd52171a4df7f35de695c9b2e7801d3e5f (patch) | |
| tree | 509002136987182309a934623b19d19393e306e3 /scripts/entities/EntityDefinition.cs | |
| parent | 9953c9a5818baa392a48a4d18339c73f3b7a814e (diff) | |
Preparação para itens
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 |
