diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-27 18:55:17 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-27 18:55:17 +0200 |
commit | ffeefad2579232c6057b383d75a9df4517f83aa6 (patch) | |
tree | 1ff7ddb95e5acaa56855482c7025dce92d127fac /mock | |
parent | 2d198820a9634c30d62c77f6f310aa227ee29733 (diff) | |
download | JRummikub-ffeefad2579232c6057b383d75a9df4517f83aa6.tar JRummikub-ffeefad2579232c6057b383d75a9df4517f83aa6.zip |
Added round control tests for checking whether redealing is allowed
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@289 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockPlayerPanel.java | 9 |
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; + } + } |