summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-05-31 20:42:46 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-05-31 20:42:46 +0200
commit640a1e0fb67dd6de744670bf5f0980e89620ca4c (patch)
treea552669b586b54fb5ead1342aac08962eb476bab /mock/jrummikub/view
parent6319ec8ab637ad1754a0d17d3243eb44df9089e5 (diff)
downloadJRummikub-640a1e0fb67dd6de744670bf5f0980e89620ca4c.tar
JRummikub-640a1e0fb67dd6de744670bf5f0980e89620ca4c.zip
Metric fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockPlayerPanel.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java
index 1a393e8..b69c109 100644
--- a/mock/jrummikub/view/MockPlayerPanel.java
+++ b/mock/jrummikub/view/MockPlayerPanel.java
@@ -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;
}
}