From 1c45c9afb59e08e5eb323da69db78be1c77ac559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 11 Oct 2014 23:39:46 +0200 Subject: HeadedPawn: add toString() --- core/src/ch/asynk/tankontank/engine/HeadedPawn.java | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- cgit v1.1-2-g2b99