From 2c9f1d5d202ca1cea69846aea42a4962e7482a6b Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Fri, 17 Jun 2011 17:41:55 +0200 Subject: Implemented getResult and abort in TurnLogic git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@445 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/Stone.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/Stone.java b/src/jrummikub/model/Stone.java index a6d62c4..5d61a56 100644 --- a/src/jrummikub/model/Stone.java +++ b/src/jrummikub/model/Stone.java @@ -77,9 +77,9 @@ public class Stone implements Sizeable, Serializable { @Override public String toString() { if (joker) { - return "Stone[joker,color=" + color + "]"; + return "[" + color + " J]"; } else { - return "Stone[value=" + value + ",color=" + color + "]"; + return "[" + color + " " + value + "]"; } } } -- cgit v1.2.3