diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/Hex.java')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hex.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java index e5a61d4..86c511b 100644 --- a/core/src/ch/asynk/tankontank/game/Hex.java +++ b/core/src/ch/asynk/tankontank/game/Hex.java @@ -45,6 +45,12 @@ public class Hex extends Tile this.roads = 0; } + public Unit getUnit() + { + // FIXME ?????? + return (Unit) getTopPawn(); + } + @Override public boolean isOffMap() { |