summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view/MockSettingsPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/view/MockSettingsPanel.java')
-rw-r--r--mock/jrummikub/view/MockSettingsPanel.java19
1 files changed, 17 insertions, 2 deletions
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