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
This commit is contained in:
Jannis Harder 2011-05-27 18:55:17 +02:00
parent 2d198820a9
commit ffeefad257
4 changed files with 59 additions and 0 deletions

View file

@ -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;
}
}