diff options
Diffstat (limited to 'scripts/Entities/Actors/ActorDefinition.cs')
| -rw-r--r-- | scripts/Entities/Actors/ActorDefinition.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/Entities/Actors/ActorDefinition.cs b/scripts/Entities/Actors/ActorDefinition.cs new file mode 100644 index 0000000..5bd8073 --- /dev/null +++ b/scripts/Entities/Actors/ActorDefinition.cs @@ -0,0 +1,32 @@ +using Godot; + +namespace TheLegendOfGustav.Entities.Actors; + +/// <summary> +/// Define de forma genérica as características de um ator. +/// </summary> +[GlobalClass] +public partial class ActorDefinition : EntityDefinition +{ + [ExportCategory("Visuals")] + // Sprite de morto + [Export] + public Texture2D deathTexture; + + [ExportCategory("Mechanics")] + [Export] + public int Speed { get; set; } = 10; + + // Estatísticas padrão do ator. + [ExportCategory("Stats")] + [Export] + public int Hp; + [Export] + public int Mp; + [Export] + public int Atk; + [Export] + public int Def; + [Export] + public int Men; +} |
