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/actors/ActorDefinition.cs | |
| parent | 9953c9a5818baa392a48a4d18339c73f3b7a814e (diff) | |
Preparação para itens
Diffstat (limited to 'scripts/entities/actors/ActorDefinition.cs')
| -rw-r--r-- | scripts/entities/actors/ActorDefinition.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/scripts/entities/actors/ActorDefinition.cs b/scripts/entities/actors/ActorDefinition.cs index ab0160b..540ede0 100644 --- a/scripts/entities/actors/ActorDefinition.cs +++ b/scripts/entities/actors/ActorDefinition.cs @@ -4,23 +4,14 @@ using Godot; /// Define de forma genérica as características de um ator. /// </summary> [GlobalClass] -public partial class ActorDefinition : Resource +public partial class ActorDefinition : EntityDefinition { [ExportCategory("Visuals")] - // Nome do ator. - [Export] - public string name = "unnamed"; - // Seu sprite. - [Export] - public Texture2D texture; // Sprite de morto [Export] public Texture2D deathTexture; [ExportCategory("Mechanics")] - // Se o ator bloqueia movimento. - [Export] - public bool blocksMovement = true; [Export] public int Speed { get; set;} = 10; |
