From 5022010f5d728820372839aff7eb461b112580d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 2 Feb 2016 14:56:56 +0100 Subject: Engagement: use UnitList instead of Collection --- core/src/ch/asynk/rustanddust/game/Engagement.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/Engagement.java b/core/src/ch/asynk/rustanddust/game/Engagement.java index 2d3bd24..c139f4b 100644 --- a/core/src/ch/asynk/rustanddust/game/Engagement.java +++ b/core/src/ch/asynk/rustanddust/game/Engagement.java @@ -5,7 +5,6 @@ import java.util.Random; import com.badlogic.gdx.utils.Pool; import com.badlogic.gdx.utils.Disposable; -import ch.asynk.rustanddust.engine.util.Collection; import ch.asynk.rustanddust.engine.util.IterableArray; public class Engagement implements Disposable, Pool.Poolable @@ -36,7 +35,7 @@ public class Engagement implements Disposable, Pool.Poolable public Unit attacker; public Unit defender; - public Collection assists; + public UnitList assists; public boolean success; public int d1; public int d2; @@ -52,7 +51,7 @@ public class Engagement implements Disposable, Pool.Poolable public Engagement() { - assists = new IterableArray(10); + assists = new UnitList(10); reset(); } -- cgit v1.1-2-g2b99