From 6ac71b62e309ec04feb7ebda41dd795df678e1e4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 11 Jun 2011 04:45:28 +0200 Subject: Added variant buttons to option panel git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@416 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/GameSettings.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jrummikub/model') 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; -- cgit v1.2.3