summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-29 15:31:58 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-29 15:31:58 +0200
commit7f89a1ce1067ec4ad31e0496bd679f70939aca10 (patch)
tree1cb657232dce8af662a1f7f5fd71230f94b75678 /mock
parentffbfc751c95b483f72bbb9ff47e4f04eef2c83cb (diff)
downloadJRummikub-7f89a1ce1067ec4ad31e0496bd679f70939aca10.tar
JRummikub-7f89a1ce1067ec4ad31e0496bd679f70939aca10.zip
Added options UI
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@294 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/view/MockSettingsPanel.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java
index 55090b5..e029520 100644
--- a/mock/jrummikub/view/MockSettingsPanel.java
+++ b/mock/jrummikub/view/MockSettingsPanel.java
@@ -23,6 +23,7 @@ public class MockSettingsPanel implements ISettingsPanel {
public boolean addPlayerButtonEnabled = true;
public boolean removePlayerButtonsEnabled = false;
public GameSettings gameSettings = new GameSettings();
+ public int initialMeldThreshold;
@Override
public IEvent getAddPlayerEvent() {
@@ -84,4 +85,9 @@ public class MockSettingsPanel implements ISettingsPanel {
}
+ @Override
+ public void setInitialMeldThreshold(int value) {
+ initialMeldThreshold = value;
+ }
+
}