Metric fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
6319ec8ab6
commit
640a1e0fb6
13 changed files with 153 additions and 99 deletions
|
@ -1,5 +1,6 @@
|
|||
package jrummikub.view;
|
||||
|
||||
import jrummikub.control.turn.TurnMode;
|
||||
import jrummikub.util.IEvent;
|
||||
import jrummikub.util.MockEvent;
|
||||
|
||||
|
@ -16,9 +17,7 @@ public class MockPlayerPanel implements IPlayerPanel {
|
|||
/** */
|
||||
public MockEvent sortByRunsEvent = new MockEvent();
|
||||
/** */
|
||||
public boolean inspectOnly;
|
||||
/** */
|
||||
public boolean mayRedeal;
|
||||
public TurnMode turnMode;
|
||||
|
||||
@Override
|
||||
public void setTimeLeft(int time) {
|
||||
|
@ -46,9 +45,9 @@ public class MockPlayerPanel implements IPlayerPanel {
|
|||
return redealEvent;
|
||||
}
|
||||
|
||||
public void setEndTurnMode(boolean inspectOnly, boolean mayRedeal) {
|
||||
this.inspectOnly = inspectOnly;
|
||||
this.mayRedeal = mayRedeal;
|
||||
@Override
|
||||
public void setEndTurnMode(TurnMode turnMode) {
|
||||
this.turnMode = turnMode;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue