summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/engine/PossiblePaths.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
index 83ce92e..0e10d81 100644
--- a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
+++ b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
@@ -46,6 +46,11 @@ public class PossiblePaths implements Iterable<Vector3>
init(pawn, pawn.getTile());
}
+ public boolean isSet()
+ {
+ return (to != null);
+ }
+
public void clear()
{
for (List<Tile> tiles : this.paths) tiles.clear();