summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/view/MockPlayerPanel.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java
index d01c027..1a393e8 100644
--- a/mock/jrummikub/view/MockPlayerPanel.java
+++ b/mock/jrummikub/view/MockPlayerPanel.java
@@ -15,6 +15,10 @@ public class MockPlayerPanel implements IPlayerPanel {
public MockEvent sortByGroupsEvent = new MockEvent();
/** */
public MockEvent sortByRunsEvent = new MockEvent();
+ /** */
+ public boolean inspectOnly;
+ /** */
+ public boolean mayRedeal;
@Override
public void setTimeLeft(int time) {
@@ -42,4 +46,9 @@ public class MockPlayerPanel implements IPlayerPanel {
return redealEvent;
}
+ public void setEndTurnMode(boolean inspectOnly, boolean mayRedeal) {
+ this.inspectOnly = inspectOnly;
+ this.mayRedeal = mayRedeal;
+ }
+
}