diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Board.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Board.java b/core/src/ch/asynk/rustanddust/engine/Board.java index 6b80c04..1e23bb1 100644 --- a/core/src/ch/asynk/rustanddust/engine/Board.java +++ b/core/src/ch/asynk/rustanddust/engine/Board.java @@ -509,13 +509,14 @@ public abstract class Board implements Disposable, Animation revertclaim(pawn, tile); claim(pawn, move.from); - addAnimation(RunnableAnimation.get(pawn, new Runnable() { + AnimationSequence seq = pawn.getRevertLastMoveAnimation(1); + seq.addAnimation(RunnableAnimation.get(pawn, new Runnable() { @Override public void run() { pushPawnOnto(pawn, pawn.getTile()); } })); - + addAnimation(seq); pawn.revertLastMove(); } |