diff options
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockScorePanel.java | 1 | ||||
-rw-r--r-- | mock/jrummikub/view/MockSettingsPanel.java | 19 |
2 files changed, 18 insertions, 2 deletions
diff --git a/mock/jrummikub/view/MockScorePanel.java b/mock/jrummikub/view/MockScorePanel.java index 44f8956..88dffe6 100644 --- a/mock/jrummikub/view/MockScorePanel.java +++ b/mock/jrummikub/view/MockScorePanel.java @@ -3,6 +3,7 @@ package jrummikub.view; import jrummikub.model.PlayerSettings; import jrummikub.model.Score; +/** */ public class MockScorePanel implements IScorePanel { @Override diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java index b361432..5e3a736 100644 --- a/mock/jrummikub/view/MockSettingsPanel.java +++ b/mock/jrummikub/view/MockSettingsPanel.java @@ -10,23 +10,38 @@ import jrummikub.util.MockEvent; import jrummikub.util.MockEvent1; import jrummikub.util.MockEvent2; +/** */ public class MockSettingsPanel implements ISettingsPanel { + /** */ public MockEvent addPlayerEvent = new MockEvent(); + /** */ public MockEvent1<Integer> removePlayerEvent = new MockEvent1<Integer>(); + /** */ public MockEvent2<Integer, Color> changePlayerColorEvent = new MockEvent2<Integer, Color>(); + /** */ public MockEvent2<Integer, String> changePlayerNameEvent = new MockEvent2<Integer, String>(); + /** */ public MockEvent startGameEvent = new MockEvent(); + /** */ public SettingsError error = SettingsError.NO_ERROR; + /** */ public boolean startButtonEnabled = true; + /** */ public boolean addPlayerButtonEnabled = true; + /** */ public boolean removePlayerButtonsEnabled = false; + /** */ public GameSettings gameSettings = new GameSettings(); - + + /** */ public MockEvent1<Integer> changeInitialMeldThresholdEvent = new MockEvent1<Integer>(); + /** */ public MockEvent1<Integer> changeJokerNumberEvent = new MockEvent1<Integer>(); - + + /** */ public int initialMeldThreshold; + /** */ public int jokerNumber; @Override |