summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-09 00:11:28 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-09 00:11:28 +0200
commit68e0dce24ae9599ed6f69b74f9db8dea58441175 (patch)
tree246dd38b0c3ff06fbb9b0ff10246057731d4f373 /mock/jrummikub/view
parent8c2e4a7d594028207f0bbf48890710856445c2b8 (diff)
downloadJRummikub-68e0dce24ae9599ed6f69b74f9db8dea58441175.tar
JRummikub-68e0dce24ae9599ed6f69b74f9db8dea58441175.zip
Zeit in der Mock angepasst
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@392 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockPlayerPanel.java12
-rw-r--r--mock/jrummikub/view/MockSettingsPanel.java7
2 files changed, 13 insertions, 6 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java
index fa263c0..2433408 100644
--- a/mock/jrummikub/view/MockPlayerPanel.java
+++ b/mock/jrummikub/view/MockPlayerPanel.java
@@ -22,12 +22,6 @@ public class MockPlayerPanel implements IPlayerPanel {
public TurnMode turnMode;
@Override
- public void setTime(int time) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
public IEvent getSortByGroupsEvent() {
return sortByGroupsEvent;
}
@@ -51,4 +45,10 @@ public class MockPlayerPanel implements IPlayerPanel {
public void setEndTurnMode(TurnMode turnMode) {
this.turnMode = turnMode;
}
+
+ @Override
+ public void setTime(int time, int totalTime) {
+ // TODO Auto-generated method stub
+
+ }
}
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java
index 5f69680..9c7debe 100644
--- a/mock/jrummikub/view/MockSettingsPanel.java
+++ b/mock/jrummikub/view/MockSettingsPanel.java
@@ -50,6 +50,8 @@ public class MockSettingsPanel implements ISettingsPanel {
/** */
public MockEvent1<Integer> changeHighestValueEvent = new MockEvent1<Integer>();
/** */
+ public MockEvent1<Integer> changeTimeEvent = new MockEvent1<Integer>();
+ /** */
public MockEvent1<Set<StoneColor>> changeStoneColorsEvent = new MockEvent1<Set<StoneColor>>();
/** */
public int initialMeldThreshold;
@@ -158,4 +160,9 @@ public class MockSettingsPanel implements ISettingsPanel {
return changeStoneSetNumberEvent;
}
+ @Override
+ public IEvent1<Integer> getChangeTimeEvent() {
+ return changeTimeEvent;
+ }
+
}