From a0573a59282fb431d094d91ba388b7ba0c8fa69d Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 21 Jun 2011 00:32:17 +0200 Subject: =?UTF-8?q?Halbfertige=20Dinge=20f=C3=BCr=20seeHandSize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@519 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/GameSettings.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/GameSettings.java b/src/jrummikub/model/GameSettings.java index dfd391e..2446333 100644 --- a/src/jrummikub/model/GameSettings.java +++ b/src/jrummikub/model/GameSettings.java @@ -28,6 +28,7 @@ public class GameSettings implements Serializable { private int totalTime; private boolean noLimits; private HashSet stoneColors; + private boolean seeHandSize; /** * Creates new GameSettings with default values @@ -48,6 +49,7 @@ public class GameSettings implements Serializable { numberOfStonesDealt = 14; totalTime = 60; noLimits = false; + seeHandSize = false; stoneColors = new HashSet(Arrays.asList(BLACK, BLUE, ORANGE, RED)); } @@ -184,6 +186,10 @@ public class GameSettings implements Serializable { return noLimits; } + public boolean doSeeHandSize() { + return seeHandSize; + } + /** * Set whether "No-Limits" rules are used * @@ -194,6 +200,10 @@ public class GameSettings implements Serializable { this.noLimits = noLimits; } + public void setSeeHandSize(boolean see) { + seeHandSize = see; + } + /** * Get stone colors used * -- cgit v1.2.3