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
This commit is contained in:
parent
4cd6f7df74
commit
6319ec8ab6
2 changed files with 10 additions and 8 deletions
|
@ -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;
|
||||
|
|
BIN
uml/uml.juth
BIN
uml/uml.juth
Binary file not shown.
Reference in a new issue