summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-20 03:19:02 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-20 03:19:02 +0200
commit8a3e4c3e26cba022dfaf06f8c7cd31b33b0889e9 (patch)
tree3b32ee8a52f84138a05a2d3eef74cec1a3c15a2d /mock/jrummikub/model
parent4df5c0e665991dd19a2f25ee513c3ff85a672c55 (diff)
downloadJRummikub-8a3e4c3e26cba022dfaf06f8c7cd31b33b0889e9.tar
JRummikub-8a3e4c3e26cba022dfaf06f8c7cd31b33b0889e9.zip
Finished side panel info
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@501 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/model')
-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;
+ }
}