diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 00:36:25 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 00:36:25 +0100 |
commit | 954ca94432b66a760c75759ab4d247e128f85db2 (patch) | |
tree | 6d217ddc1d249c563db9071a77ea53e14a029ada | |
parent | 819928ad7abbb7bac19f6ce50c1cdb72f9ba79d6 (diff) | |
download | RustAndDust-954ca94432b66a760c75759ab4d247e128f85db2.zip RustAndDust-954ca94432b66a760c75759ab4d247e128f85db2.tar.gz |
Map: update comments
-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); } |