summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();