diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-20 10:55:55 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-20 10:55:55 +0200 |
commit | 4cc3109a44bbabc20f90e410f8cff77efe8ff629 (patch) | |
tree | bc956164298624937271fdc68a82abebc9458ec8 | |
parent | 9f6b1b1e85ed029673eef041e7f1be9e2356a780 (diff) | |
download | RustAndDust-4cc3109a44bbabc20f90e410f8cff77efe8ff629.zip RustAndDust-4cc3109a44bbabc20f90e410f8cff77efe8ff629.tar.gz |
Map: reorder
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 3bebf6d..3c648a9 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -67,6 +67,16 @@ public abstract class Map extends Board clearCoordinateVector(finalPath); } + public void clearPossiblePaths() + { + clearPointSet(possiblePaths); + } + + public void clearPossibleTargets() + { + clearPointVector(possibleTargets); + } + protected Hex getHex(int col, int row) { return (Hex) getTile(col, row); @@ -274,16 +284,6 @@ public abstract class Map extends Board return possiblePathsFilterToggle(hex, possiblePaths); } - public void clearPossiblePaths() - { - clearPointSet(possiblePaths); - } - - public void clearPossibleTargets() - { - clearPointVector(possibleTargets); - } - public boolean attackPawn(Pawn pawn, final Pawn target, GridPoint2 from, GridPoint2 to, int dice) { Hex hex = getHex(to.x, to.y); |