diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/PathBuilder.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PathBuilder.java b/core/src/ch/asynk/tankontank/engine/PathBuilder.java index f3ebb87..d63b0b0 100644 --- a/core/src/ch/asynk/tankontank/engine/PathBuilder.java +++ b/core/src/ch/asynk/tankontank/engine/PathBuilder.java @@ -49,6 +49,13 @@ public class PathBuilder implements Disposable init(pawn, pawn.getTile()); } + public void initRotation(Pawn pawn, Orientation o) + { + init(pawn, pawn.getTile()); + build(pawn.getTile()); + orientation = o; + } + public boolean isSet() { return (to != null); |