summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/states
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-22 12:04:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-22 12:04:53 +0200
commit6b75f8772de1783643ca7825226b1a6b844793ac (patch)
treef27454a0a65fa94a9e9c65f43d314f389aefcf0b /core/src/ch/asynk/tankontank/game/states
parent66daac0daac4016c61a88bdcb2723976f5848b69 (diff)
downloadRustAndDust-6b75f8772de1783643ca7825226b1a6b844793ac.zip
RustAndDust-6b75f8772de1783643ca7825226b1a6b844793ac.tar.gz
Tile: replace Vector2 center with int col, row; float x, y;
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateCommon.java2
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 e729a84..2edda2c 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 (" + selectedHex.x + ";" + selectedHex.y + ") " + selectedPawn + (isEnemy ? " enemy " : " friend "));
+ System.err.println(" select " + map.getHexSafe(selectedHex) + selectedPawn + (isEnemy ? " enemy " : " friend "));
}
protected void showPossibleTargetsMovesAssists(Pawn pawn)