diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-05 16:41:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-05 16:41:30 +0100 |
commit | 4827ded5e1c5a627c4361fb0bf6933753b7f50c9 (patch) | |
tree | f0afc4961c8e083bc515809a97327c8874082240 /core | |
parent | cc3af93a06f86b60f6f7265f7fca10b46b3fdd7e (diff) | |
download | RustAndDust-4827ded5e1c5a627c4361fb0bf6933753b7f50c9.zip RustAndDust-4827ded5e1c5a627c4361fb0bf6933753b7f50c9.tar.gz |
Pawn: add getPreviousTile()
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 5 |
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; |