diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hex.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java index 59cc9d3..962f104 100644 --- a/core/src/ch/asynk/tankontank/game/Hex.java +++ b/core/src/ch/asynk/tankontank/game/Hex.java @@ -6,7 +6,6 @@ import com.badlogic.gdx.graphics.g2d.TextureAtlas; import ch.asynk.tankontank.engine.Pawn; import ch.asynk.tankontank.engine.Tile; -import ch.asynk.tankontank.engine.Board; import ch.asynk.tankontank.engine.Orientation; public class Hex extends Tile @@ -94,16 +93,4 @@ public class Hex extends Tile return c; } - - @Override - public boolean hasTargetsFor(Pawn pawn) - { - if (!hasUnits()) return false; - - Iterator<Pawn> itr = stack.iterator(); - while(itr.hasNext()) - if (itr.next().isEnemy(pawn)) return true; - - return false; - } } |