diff options
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockSettingsPanel.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java index 2140e05..a159524 100644 --- a/mock/jrummikub/view/MockSettingsPanel.java +++ b/mock/jrummikub/view/MockSettingsPanel.java @@ -42,11 +42,15 @@ public class MockSettingsPanel implements ISettingsPanel { public MockEvent1<Integer> changeInitialMeldThresholdEvent = new MockEvent1<Integer>(); /** */ public MockEvent1<Integer> changeJokerNumberEvent = new MockEvent1<Integer>(); - + /** */ + public MockEvent1<Integer> changeStoneSetNumberEvent = new MockEvent1<Integer>(); /** */ public int initialMeldThreshold; /** */ public int jokerNumber; + + public int stoneSetNumber; + @Override public IEvent getAddPlayerEvent() { return addPlayerEvent; @@ -127,4 +131,14 @@ public class MockSettingsPanel implements ISettingsPanel { return changePlayerTypeEvent; } + @Override + public IEvent1<Integer> getChangeStoneSetNumberEvent() { + return changeStoneSetNumberEvent; + } + + @Override + public void setStoneSetNumber(int number) { + stoneSetNumber = number; + } + } |