summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-11 04:45:28 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-11 04:45:28 +0200
commit6ac71b62e309ec04feb7ebda41dd795df678e1e4 (patch)
treef81ee556e357ae11bc425ae8533c39e568529c48 /mock/jrummikub
parent4fbbcb5e06443cd8a0a879034cd365ca70f6450b (diff)
downloadJRummikub-6ac71b62e309ec04feb7ebda41dd795df678e1e4.tar
JRummikub-6ac71b62e309ec04feb7ebda41dd795df678e1e4.zip
Added variant buttons to option panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@416 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub')
-rw-r--r--mock/jrummikub/view/MockSettingsPanel.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java
index f35d40f..d0ac7c6 100644
--- a/mock/jrummikub/view/MockSettingsPanel.java
+++ b/mock/jrummikub/view/MockSettingsPanel.java
@@ -42,6 +42,10 @@ public class MockSettingsPanel implements ISettingsPanel {
public boolean removePlayerButtonsEnabled = false;
/** */
+ public MockEvent setVariantDefaultEvent = new MockEvent();
+ /** */
+ public MockEvent setVariantChildrenEvent = new MockEvent();
+ /** */
public MockEvent1<Integer> changeInitialMeldThresholdEvent = new MockEvent1<Integer>();
/** */
public MockEvent1<Integer> changeJokerNumberEvent = new MockEvent1<Integer>();
@@ -173,4 +177,14 @@ public class MockSettingsPanel implements ISettingsPanel {
public IEvent1<Boolean> getChangeNoLimitsEvent() {
return changeNoLimitsEvent;
}
+
+ @Override
+ public IEvent getSetVariantDefaultEvent() {
+ return setVariantDefaultEvent;
+ }
+
+ @Override
+ public IEvent getSetVariantChildrenEvent() {
+ return setVariantChildrenEvent;
+ }
}