summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-11 23:39:46 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-11 23:39:46 +0200
commit1c45c9afb59e08e5eb323da69db78be1c77ac559 (patch)
tree8010b8f44d62c39c3c861c6b31a5bd90cdedcb26 /core/src/ch/asynk/tankontank/engine
parent4c41183bc9a8ce115da1743a5648f59b1fe71d6e (diff)
downloadRustAndDust-1c45c9afb59e08e5eb323da69db78be1c77ac559.zip
RustAndDust-1c45c9afb59e08e5eb323da69db78be1c77ac559.tar.gz
HeadedPawn: add toString()
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r--core/src/ch/asynk/tankontank/engine/HeadedPawn.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/HeadedPawn.java b/core/src/ch/asynk/tankontank/engine/HeadedPawn.java
index 9be1d06..ca08e26 100644
--- a/core/src/ch/asynk/tankontank/engine/HeadedPawn.java
+++ b/core/src/ch/asynk/tankontank/engine/HeadedPawn.java
@@ -22,6 +22,12 @@ public abstract class HeadedPawn extends Pawn
}
@Override
+ public String toString()
+ {
+ return super.toString() + " " + orientation;
+ }
+
+ @Override
public void dispose()
{
super.dispose();