summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-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;
}