diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-23 21:24:58 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-23 21:24:58 +0200 |
commit | 81808d5d40c00d969f5526ffee1317021e651b9a (patch) | |
tree | 143abd24f385af57d42279f88251cf76cb3ef561 /core/src/ch/asynk/tankontank/game/states | |
parent | a03226aa0991ae72336da23f249f74e9c24dff8f (diff) | |
download | RustAndDust-81808d5d40c00d969f5526ffee1317021e651b9a.zip RustAndDust-81808d5d40c00d969f5526ffee1317021e651b9a.tar.gz |
Map,BattleFake,StateCommon: match map API
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateCommon.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateCommon.java b/core/src/ch/asynk/tankontank/game/states/StateCommon.java index 2edda2c..5c73ee6 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateCommon.java +++ b/core/src/ch/asynk/tankontank/game/states/StateCommon.java @@ -113,7 +113,7 @@ public abstract class StateCommon implements State isEnemy = ctrl.player.isEnemy(selectedPawn); else isEnemy = false; - System.err.println(" select " + map.getHexSafe(selectedHex) + selectedPawn + (isEnemy ? " enemy " : " friend ")); + System.err.println(" select " + map.getHexSafe(selectedHex.x, selectedHex.y) + selectedPawn + (isEnemy ? " enemy " : " friend ")); } protected void showPossibleTargetsMovesAssists(Pawn pawn) |