summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Engagement.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Engagement.java b/core/src/ch/asynk/tankontank/game/Engagement.java
index b833c6e..8f01008 100644
--- a/core/src/ch/asynk/tankontank/game/Engagement.java
+++ b/core/src/ch/asynk/tankontank/game/Engagement.java
@@ -68,6 +68,11 @@ public class Engagement implements Disposable, Pool.Poolable
engagementPool.free(this);
}
+ public void addAssist(Unit unit)
+ {
+ assists.add(unit);
+ }
+
public void set(int d1, int d2, int d3, int d4, int cnt, int flk, int def, int tdf, int wdf)
{
this.d1 = d1;