diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Tile.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Tile.java b/core/src/ch/asynk/tankontank/engine/Tile.java index 735af0e..21c8168 100644 --- a/core/src/ch/asynk/tankontank/engine/Tile.java +++ b/core/src/ch/asynk/tankontank/engine/Tile.java @@ -98,18 +98,6 @@ public abstract class Tile implements Drawable, Disposable return false; } - public boolean hasTargetsFor(Pawn pawn) - { - if (isEmpty()) return false; - Iterator<Pawn> itr = iterator(); - while(itr.hasNext()) { - Pawn target = itr.next(); - if (pawn.canAttack(target)) return true; - } - - return false; - } - public boolean mustBeDrawn() { if (!isEmpty()) return true; |