diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-11 12:18:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-11 12:18:52 +0100 |
commit | e119aa82c0a4a4d066fcd462a99dc93f9ee15296 (patch) | |
tree | 7bfa496d1cc05b83032c445545a7666b9f5c7284 /core/src/ch/asynk/rustanddust/game | |
parent | 5196c30138f4d659fb5176363421e61ba66228ba (diff) | |
download | RustAndDust-e119aa82c0a4a4d066fcd462a99dc93f9ee15296.zip RustAndDust-e119aa82c0a4a4d066fcd462a99dc93f9ee15296.tar.gz |
add engine.util.Collection and use it
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/UnitList.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map1Units.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/UnitList.java b/core/src/ch/asynk/rustanddust/game/UnitList.java index fde9a5c..15567c7 100644 --- a/core/src/ch/asynk/rustanddust/game/UnitList.java +++ b/core/src/ch/asynk/rustanddust/game/UnitList.java @@ -1,6 +1,6 @@ package ch.asynk.rustanddust.game; -import java.util.Collection; +import ch.asynk.rustanddust.engine.util.Collection; import ch.asynk.rustanddust.engine.util.IterableArray; import ch.asynk.rustanddust.engine.Pawn; diff --git a/core/src/ch/asynk/rustanddust/game/map/Map1Units.java b/core/src/ch/asynk/rustanddust/game/map/Map1Units.java index e779660..156f1f0 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map1Units.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map1Units.java @@ -45,7 +45,7 @@ public abstract class Map1Units extends Map0Hex public int collectMoveable(Unit unit) { if (unit.canHQMove()) - collectMoveAssists(unit, moveableUnits.asPawns()); + collectMoveAssists(unit, moveableUnits.asPawns()); else moveableUnits.clear(); |