From 640a1e0fb67dd6de744670bf5f0980e89620ca4c Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Tue, 31 May 2011 20:42:46 +0200 Subject: Metric fixes git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockPlayerPanel.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'mock/jrummikub') 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; } } -- cgit v1.2.3