diff options
Diffstat (limited to 'scripts/actors/ActorDefinition.cs')
| -rw-r--r-- | scripts/actors/ActorDefinition.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/scripts/actors/ActorDefinition.cs b/scripts/actors/ActorDefinition.cs deleted file mode 100644 index ab0160b..0000000 --- a/scripts/actors/ActorDefinition.cs +++ /dev/null @@ -1,39 +0,0 @@ -using Godot; - -/// <summary> -/// Define de forma genérica as características de um ator. -/// </summary> -[GlobalClass] -public partial class ActorDefinition : Resource -{ - [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; - - // 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; -} |
