diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-30 19:50:58 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-30 19:50:58 +0200 |
commit | c398c081ed4d83660ec867cabfb0ee9bc56b90ad (patch) | |
tree | c0d736284d4bb12f37ae3eb1d2344eedcc121a3d /mock/jrummikub | |
parent | ad2f22636921ac5afe60f48bda08274eb00e079a (diff) | |
download | JRummikub-c398c081ed4d83660ec867cabfb0ee9bc56b90ad.tar JRummikub-c398c081ed4d83660ec867cabfb0ee9bc56b90ad.zip |
Test für Änderung der StoneSet Anzahl fertig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@327 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub')
-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; + } + } |