summaryrefslogtreecommitdiff
path: root/scripts/actors/actions/Action.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-28 17:46:54 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-28 17:46:54 -0300
commit2ed63124ef044a223fc9c7b660100c91af6f39b0 (patch)
treeea0887e9aec0f88cea1979877f325faf6024a444 /scripts/actors/actions/Action.cs
parente17510951f1136f4afeb2afbf76c47df151b299b (diff)
Mudança no sistema de turnos.
Diffstat (limited to 'scripts/actors/actions/Action.cs')
-rw-r--r--scripts/actors/actions/Action.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/actors/actions/Action.cs b/scripts/actors/actions/Action.cs
index 0320dd8..f20e262 100644
--- a/scripts/actors/actions/Action.cs
+++ b/scripts/actors/actions/Action.cs
@@ -11,8 +11,13 @@ public abstract partial class Action : RefCounted {
/// </summary>
protected Actor actor;
+ // O custo da ação.
+ protected int cost;
+
public Action(Actor actor) {
this.actor = actor;
+ // Custo base, subclasses podem sobreescrever isto se quiserem.
+ cost = 10;
}
/// <summary>