summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-21 00:32:17 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-21 00:32:17 +0200
commita0573a59282fb431d094d91ba388b7ba0c8fa69d (patch)
treefd3e6ab162c24f115d724fcceb00e1c32d373697 /src/jrummikub/model
parentb0fedc980804fda6915cea12a188142e40eea147 (diff)
downloadJRummikub-a0573a59282fb431d094d91ba388b7ba0c8fa69d.tar
JRummikub-a0573a59282fb431d094d91ba388b7ba0c8fa69d.zip
Halbfertige Dinge für seeHandSize
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@519 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/GameSettings.java10
1 files changed, 10 insertions, 0 deletions
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<StoneColor> 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<StoneColor>(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
*