diff options
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r-- | mock/jrummikub/view/MockPlayerPanel.java | 12 | ||||
-rw-r--r-- | mock/jrummikub/view/MockSettingsPanel.java | 7 |
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; + } + } |