From ffeefad2579232c6057b383d75a9df4517f83aa6 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Fri, 27 May 2011 18:55:17 +0200 Subject: 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 --- mock/jrummikub/view/MockPlayerPanel.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mock/jrummikub/view') 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; + } + } -- cgit v1.2.3