summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-05 16:41:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-05 16:41:30 +0100
commit4827ded5e1c5a627c4361fb0bf6933753b7f50c9 (patch)
treef0afc4961c8e083bc515809a97327c8874082240 /core/src
parentcc3af93a06f86b60f6f7265f7fca10b46b3fdd7e (diff)
downloadRustAndDust-4827ded5e1c5a627c4361fb0bf6933753b7f50c9.zip
RustAndDust-4827ded5e1c5a627c4361fb0bf6933753b7f50c9.tar.gz
Pawn: add getPreviousTile()
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java
index d5ed8fe..c7d8b26 100644
--- a/core/src/ch/asynk/tankontank/engine/Pawn.java
+++ b/core/src/ch/asynk/tankontank/engine/Pawn.java
@@ -177,6 +177,11 @@ public abstract class Pawn implements Moveable, Disposable
return tile;
}
+ public Tile getPreviousTile()
+ {
+ return prevTile;
+ }
+
public Vector3 getPosition()
{
return position;