diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-18 17:53:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-18 17:53:06 +0100 |
commit | 02c699fe84ae8897f54a1f5a79ed893bc20073e6 (patch) | |
tree | 88c75ddf8c86d4d92a632a61c250cffb144b508b /core/src | |
parent | 47bfaa56133d1b540fbea31450bece41b5f4fe94 (diff) | |
download | RustAndDust-02c699fe84ae8897f54a1f5a79ed893bc20073e6.zip RustAndDust-02c699fe84ae8897f54a1f5a79ed893bc20073e6.tar.gz |
Engagement: add addAssist(Unit)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Engagement.java | 5 |
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; |