summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-rw-r--r--mock/jrummikub/model/MockPlayer.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java
index f7baee8..d1aefb4 100644
--- a/mock/jrummikub/model/MockPlayer.java
+++ b/mock/jrummikub/model/MockPlayer.java
@@ -11,6 +11,10 @@ public class MockPlayer implements IPlayer {
public PlayerSettings playerSettings;
/** */
public boolean laidOut;
+ /** */
+ public boolean lastTurnInvalid;
+ /** */
+ public int lastTurnStoneCount;
/**
* @param playerSettings
@@ -48,4 +52,24 @@ public class MockPlayer implements IPlayer {
public void setHand(IHand hand) {
this.hand = hand;
}
+
+ @Override
+ public boolean wasLastTurnInvalid() {
+ return lastTurnInvalid;
+ }
+
+ @Override
+ public void setLastTurnInvalid(boolean value) {
+ lastTurnInvalid = value;
+ }
+
+ @Override
+ public int getLastTurnStoneCount() {
+ return lastTurnStoneCount;
+ }
+
+ @Override
+ public void setLastTurnStoneCount(int value) {
+ lastTurnStoneCount = value;
+ }
}