summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-17 17:41:55 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-17 17:41:55 +0200
commit2c9f1d5d202ca1cea69846aea42a4962e7482a6b (patch)
treeafc4767cf4b8307744090a42fddb23f5012ebe9f /src/jrummikub/model
parent5ae0590dbc7c3e924941ad2269f8b42ed418d962 (diff)
downloadJRummikub-2c9f1d5d202ca1cea69846aea42a4962e7482a6b.tar
JRummikub-2c9f1d5d202ca1cea69846aea42a4962e7482a6b.zip
Implemented getResult and abort in TurnLogic
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@445 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/Stone.java4
1 files changed, 2 insertions, 2 deletions
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 + "]";
}
}
}