summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/PawnImage.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-21 02:53:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-21 02:53:08 +0200
commita7662a4a96ae321a2c741bac6534f1356729c5be (patch)
treee8234362ef03ed48cb91a31a4b7c8944aa0b341d /core/src/ch/asynk/tankontank/engine/PawnImage.java
parent0eadb568da51b16194596786650080d339ef626c (diff)
downloadRustAndDust-a7662a4a96ae321a2c741bac6534f1356729c5be.zip
RustAndDust-a7662a4a96ae321a2c741bac6534f1356729c5be.tar.gz
RunnableAnimation needs a ref to Pawn too
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine/PawnImage.java')
-rw-r--r--core/src/ch/asynk/tankontank/engine/PawnImage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PawnImage.java b/core/src/ch/asynk/tankontank/engine/PawnImage.java
index ac4a071..4a16cd5 100644
--- a/core/src/ch/asynk/tankontank/engine/PawnImage.java
+++ b/core/src/ch/asynk/tankontank/engine/PawnImage.java
@@ -58,7 +58,7 @@ public class PawnImage extends Image implements Pawn
seq.addAnimation(MoveToAnimation.get(this, path.pop(), MOVE_TIME));
}
- seq.addAnimation(RunnableAnimation.get(new Runnable() {
+ seq.addAnimation(RunnableAnimation.get(this, new Runnable() {
@Override
public void run() {
path.push(finalPos);