diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/PossiblePaths.java | 5 |
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(); |