summaryrefslogtreecommitdiff
path: root/scripts/actors/ActorDefinition.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/actors/ActorDefinition.cs')
-rw-r--r--scripts/actors/ActorDefinition.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/actors/ActorDefinition.cs b/scripts/actors/ActorDefinition.cs
index 5c0ece9..72eb745 100644
--- a/scripts/actors/ActorDefinition.cs
+++ b/scripts/actors/ActorDefinition.cs
@@ -1,19 +1,26 @@
using Godot;
-using System;
+
+/// <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;
[ExportCategory("Mechanics")]
+ // Se o ator bloqueia movimento.
[Export]
public bool blocksMovement = true;
+ // Estatísticas padrão do ator.
[ExportCategory("Stats")]
[Export]
public int Hp;