summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actors/ActorDefinition.cs
blob: 5bd80737890841552de3274d24f29db6d6698f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}