diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-09 00:11:28 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-09 00:11:28 +0200 |
commit | 68e0dce24ae9599ed6f69b74f9db8dea58441175 (patch) | |
tree | 246dd38b0c3ff06fbb9b0ff10246057731d4f373 | |
parent | 8c2e4a7d594028207f0bbf48890710856445c2b8 (diff) | |
download | JRummikub-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
-rw-r--r-- | mock/jrummikub/view/MockPlayerPanel.java | 12 | ||||
-rw-r--r-- | mock/jrummikub/view/MockSettingsPanel.java | 7 | ||||
-rw-r--r-- | src/jrummikub/view/ISettingsPanel.java | 2 |
3 files changed, 14 insertions, 7 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; + } + } diff --git a/src/jrummikub/view/ISettingsPanel.java b/src/jrummikub/view/ISettingsPanel.java index a63b3d1..b7ce6a4 100644 --- a/src/jrummikub/view/ISettingsPanel.java +++ b/src/jrummikub/view/ISettingsPanel.java @@ -171,7 +171,7 @@ public interface ISettingsPanel { */ public IEvent1<Integer> getChangeJokerNumberEvent(); - public Event1<Integer> getChangeTimeEvent(); + public IEvent1<Integer> getChangeTimeEvent(); /** * Specifies the different kinds of settings errors that can be displayed |