diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-09 19:09:34 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-09 19:09:34 -0300 |
| commit | c6bbb834f7758027c0df338f1520f34fad3befea (patch) | |
| tree | 1818cd23c24be16fbe19b16dd0a510874d440d83 /scripts/Entities/Actors/ActorDefinition.cs | |
| parent | f1b51bed52ffbd90b5b7cc8dcfc6f0484bbbeb3c (diff) | |
Organização
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; +} |
