summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-18 17:53:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-18 17:53:06 +0100
commit02c699fe84ae8897f54a1f5a79ed893bc20073e6 (patch)
tree88c75ddf8c86d4d92a632a61c250cffb144b508b /core/src/ch
parent47bfaa56133d1b540fbea31450bece41b5f4fe94 (diff)
downloadRustAndDust-02c699fe84ae8897f54a1f5a79ed893bc20073e6.zip
RustAndDust-02c699fe84ae8897f54a1f5a79ed893bc20073e6.tar.gz
Engagement: add addAssist(Unit)
Diffstat (limited to 'core/src/ch')
-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;