diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Engagement.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Engagement.java b/core/src/ch/asynk/rustanddust/game/Engagement.java index f1edfba..858792e 100644 --- a/core/src/ch/asynk/rustanddust/game/Engagement.java +++ b/core/src/ch/asynk/rustanddust/game/Engagement.java @@ -1,12 +1,13 @@ package ch.asynk.rustanddust.game; import java.util.List; -import java.util.LinkedList; import java.util.Random; import com.badlogic.gdx.utils.Pool; import com.badlogic.gdx.utils.Disposable; +import ch.asynk.rustanddust.engine.util.ArrayListIt; + public class Engagement implements Disposable, Pool.Poolable { private static Random rand = new Random(); @@ -51,7 +52,7 @@ public class Engagement implements Disposable, Pool.Poolable public Engagement() { - assists = new LinkedList<Unit>(); + assists = new ArrayListIt<Unit>(10); reset(); } |