summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
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 /src/jrummikub/model
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 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/GameSettings.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jrummikub/model/GameSettings.java b/src/jrummikub/model/GameSettings.java
index 42f76a6..f52f8cf 100644
--- a/src/jrummikub/model/GameSettings.java
+++ b/src/jrummikub/model/GameSettings.java
@@ -31,6 +31,10 @@ public class GameSettings implements Serializable {
* Creates new GameSettings with default values
*/
public GameSettings() {
+ reset();
+ }
+
+ public void reset() {
initialMeldThreshold = 30;
jokerPoints = 50;
jokerNumber = 2;