summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-16 22:46:43 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-16 22:46:43 +0200
commitd0a70145772a17ab75db4c705efb421e3bcce378 (patch)
tree721cfd100356618febb1437fca7bee5299138553 /mock
parentc4c091eb61738dc9a1b816dbf0b13657f6f881fa (diff)
downloadJRummikub-d0a70145772a17ab75db4c705efb421e3bcce378.tar
JRummikub-d0a70145772a17ab75db4c705efb421e3bcce378.zip
Anfang von rauskommen im Player gebaut, test angefangen
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@248 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/model/MockPlayer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java
index 214a4e0..cb9adaa 100644
--- a/mock/jrummikub/model/MockPlayer.java
+++ b/mock/jrummikub/model/MockPlayer.java
@@ -12,6 +12,8 @@ public class MockPlayer implements IPlayer {
public String name;
/** */
public Color color;
+ /** */
+ public boolean cameOut;
/**
* @param name
@@ -23,9 +25,15 @@ public class MockPlayer implements IPlayer {
hand = new Hand();
this.name = name;
this.color = color;
+ this.cameOut=false;
}
@Override
+ public boolean getCameOut() {
+ return cameOut;
+ }
+
+ @Override
public IHand getHand() {
return hand;
}