summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-20 10:55:55 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-20 10:55:55 +0200
commit4cc3109a44bbabc20f90e410f8cff77efe8ff629 (patch)
treebc956164298624937271fdc68a82abebc9458ec8 /core/src/ch/asynk/tankontank
parent9f6b1b1e85ed029673eef041e7f1be9e2356a780 (diff)
downloadRustAndDust-4cc3109a44bbabc20f90e410f8cff77efe8ff629.zip
RustAndDust-4cc3109a44bbabc20f90e410f8cff77efe8ff629.tar.gz
Map: reorder
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java20
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);