summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-31 19:55:59 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-31 19:55:59 +0200
commit6319ec8ab637ad1754a0d17d3243eb44df9089e5 (patch)
treeb489c056aa8cbce7a04cf95e8d0a38cb039bf3bd /src/jrummikub
parent4cd6f7df74be56061a5310c6e1150e497daea0a9 (diff)
downloadJRummikub-6319ec8ab637ad1754a0d17d3243eb44df9089e5.tar
JRummikub-6319ec8ab637ad1754a0d17d3243eb44df9089e5.zip
UML Control Klassendiagram weiter, aber noch nicht fertig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@357 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/model/GameSettings.java18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/jrummikub/model/GameSettings.java b/src/jrummikub/model/GameSettings.java
index f3cf69a..2a8ae0b 100644
--- a/src/jrummikub/model/GameSettings.java
+++ b/src/jrummikub/model/GameSettings.java
@@ -34,8 +34,8 @@ public class GameSettings {
stoneSetNumber = 2;
numberOfStonesDealt = 14;
noLimits = false;
- stoneColors = new HashSet<StoneColor>(Arrays.asList(BLACK, BLUE, ORANGE,
- RED));
+ stoneColors = new HashSet<StoneColor>(Arrays.asList(BLACK, BLUE,
+ ORANGE, RED));
}
/**
@@ -51,7 +51,7 @@ public class GameSettings {
* Sets the initial meld threshold
*
* @param value
- * the value to set
+ * the value to set
*/
public void setInitialMeldThreshold(int value) {
initialMeldThreshold = value;
@@ -70,7 +70,7 @@ public class GameSettings {
* Sets the points counted for a joker
*
* @param value
- * the value to set
+ * the value to set
*/
public void setJokerPoints(int value) {
jokerPoints = value;
@@ -89,6 +89,7 @@ public class GameSettings {
* Sets the number of jokers in game
*
* @param value
+ * how many jokers will be used
*/
public void setJokerNumber(int value) {
jokerNumber = value;
@@ -116,7 +117,7 @@ public class GameSettings {
* Set the highest stone value in use
*
* @param highestValue
- * highest stone value
+ * highest stone value
*/
public void setHighestValue(int highestValue) {
this.highestValue = highestValue;
@@ -135,7 +136,7 @@ public class GameSettings {
* Set the number of sets of stones in use
*
* @param stoneSets
- * sets of stones in use
+ * sets of stones in use
*/
public void setStoneSetNumber(int stoneSets) {
this.stoneSetNumber = stoneSets;
@@ -154,7 +155,7 @@ public class GameSettings {
* Set whether "No-Limits" rules are used
*
* @param noLimits
- * use no limit rules
+ * use no limit rules
*/
public void setNoLimits(boolean noLimits) {
this.noLimits = noLimits;
@@ -173,7 +174,7 @@ public class GameSettings {
* Set stone colors used
*
* @param stoneColors
- * used stone colors
+ * used stone colors
*/
public void setStoneColors(Set<StoneColor> stoneColors) {
this.stoneColors = stoneColors;
@@ -192,6 +193,7 @@ public class GameSettings {
* Set number of stones dealt at game start
*
* @param number
+ * how many Stones will be dealt initially
*/
public void setNumberOfStonesDealt(int number) {
numberOfStonesDealt = number;