From 6319ec8ab637ad1754a0d17d3243eb44df9089e5 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 31 May 2011 19:55:59 +0200 Subject: 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 --- src/jrummikub/model/GameSettings.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/jrummikub/model') 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(Arrays.asList(BLACK, BLUE, ORANGE, - RED)); + stoneColors = new HashSet(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 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; -- cgit v1.2.3