diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 04033ab..7d4bf94 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -291,13 +291,11 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS r = moveableUnits.size(); break; case SET: - // FIXME SET -> activatedUnits.add(unit); ?? setPawnOnto(unit, move); ctrl.player.unitEntry(unit); claim((Hex) move.to, unit.getArmy()); break; case ENTER: - // FIXME ENTER -> activatedUnits.add(unit); ?? enterPawn(unit, move); ctrl.player.unitEntry(unit); claim((Hex) move.to, unit.getArmy()); @@ -441,6 +439,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS Command cmd = Command.get(ctrl.player); cmd.setEngage(unit, target); + // FIXME resolve the engagement here does not work for the AI resolveEngagement(cmd.engagement); return (process(cmd) == 1); } |