From 02c699fe84ae8897f54a1f5a79ed893bc20073e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 18 Feb 2015 17:53:06 +0100 Subject: Engagement: add addAssist(Unit) --- core/src/ch/asynk/tankontank/game/Engagement.java | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.1-2-g2b99