summaryrefslogtreecommitdiff
path: root/scripts/actors/actions/Action.cs
diff options
context:
space:
mode:
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>