diff options
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; |
