From 68e0dce24ae9599ed6f69b74f9db8dea58441175 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Thu, 9 Jun 2011 00:11:28 +0200 Subject: Zeit in der Mock angepasst git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@392 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockPlayerPanel.java | 12 ++++++------ mock/jrummikub/view/MockSettingsPanel.java | 7 +++++++ 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 @@ -21,12 +21,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 changeHighestValueEvent = new MockEvent1(); /** */ + public MockEvent1 changeTimeEvent = new MockEvent1(); + /** */ public MockEvent1> changeStoneColorsEvent = new MockEvent1>(); /** */ public int initialMeldThreshold; @@ -158,4 +160,9 @@ public class MockSettingsPanel implements ISettingsPanel { return changeStoneSetNumberEvent; } + @Override + public IEvent1 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 getChangeJokerNumberEvent(); - public Event1 getChangeTimeEvent(); + public IEvent1 getChangeTimeEvent(); /** * Specifies the different kinds of settings errors that can be displayed -- cgit v1.2.3