diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-05 16:37:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-05 16:37:39 +0100 |
commit | b7a165903bfa2a04d5abbf6fdb6e215252997655 (patch) | |
tree | 28b04c29f5ed7b612e657056bc2efa1b4a09f53a | |
parent | f3026c8e3ef637ee303d2b6c94c044d99edd6fbd (diff) | |
download | RustAndDust-b7a165903bfa2a04d5abbf6fdb6e215252997655.zip RustAndDust-b7a165903bfa2a04d5abbf6fdb6e215252997655.tar.gz |
Board: call pawn.move.setRotation(...) in rotatePawn(...)
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Board.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java index 0a076c7..7a4ce40 100644 --- a/core/src/ch/asynk/tankontank/engine/Board.java +++ b/core/src/ch/asynk/tankontank/engine/Board.java @@ -449,6 +449,7 @@ public abstract class Board implements Disposable protected void rotatePawn(final Pawn pawn, Orientation o, RunnableAnimation whenDone) { + pawn.move.setRotation(pawn.getTile(), o); removePawn(pawn); AnimationSequence seq = pawn.getRotateAnimation(o.r(), 2); |