From 4827ded5e1c5a627c4361fb0bf6933753b7f50c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 5 Nov 2014 16:41:30 +0100 Subject: Pawn: add getPreviousTile() --- core/src/ch/asynk/tankontank/engine/Pawn.java | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.1-2-g2b99