From 954ca94432b66a760c75759ab4d247e128f85db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 19 Feb 2015 00:36:25 +0100 Subject: Map: update comments --- core/src/ch/asynk/tankontank/game/Map.java | 3 +-- 1 file changed, 1 insertion(+), 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); } -- cgit v1.1-2-g2b99