diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-11 23:39:46 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-11 23:39:46 +0200 |
commit | 1c45c9afb59e08e5eb323da69db78be1c77ac559 (patch) | |
tree | 8010b8f44d62c39c3c861c6b31a5bd90cdedcb26 /core | |
parent | 4c41183bc9a8ce115da1743a5648f59b1fe71d6e (diff) | |
download | RustAndDust-1c45c9afb59e08e5eb323da69db78be1c77ac559.zip RustAndDust-1c45c9afb59e08e5eb323da69db78be1c77ac559.tar.gz |
HeadedPawn: add toString()
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/HeadedPawn.java | 6 |
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(); |