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;
|
stoneSetNumber = 2;
|
||||||
numberOfStonesDealt = 14;
|
numberOfStonesDealt = 14;
|
||||||
noLimits = false;
|
noLimits = false;
|
||||||
stoneColors = new HashSet<StoneColor>(Arrays.asList(BLACK, BLUE, ORANGE,
|
stoneColors = new HashSet<StoneColor>(Arrays.asList(BLACK, BLUE,
|
||||||
RED));
|
ORANGE, RED));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -51,7 +51,7 @@ public class GameSettings {
|
||||||
* Sets the initial meld threshold
|
* Sets the initial meld threshold
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* the value to set
|
* the value to set
|
||||||
*/
|
*/
|
||||||
public void setInitialMeldThreshold(int value) {
|
public void setInitialMeldThreshold(int value) {
|
||||||
initialMeldThreshold = value;
|
initialMeldThreshold = value;
|
||||||
|
@ -70,7 +70,7 @@ public class GameSettings {
|
||||||
* Sets the points counted for a joker
|
* Sets the points counted for a joker
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* the value to set
|
* the value to set
|
||||||
*/
|
*/
|
||||||
public void setJokerPoints(int value) {
|
public void setJokerPoints(int value) {
|
||||||
jokerPoints = value;
|
jokerPoints = value;
|
||||||
|
@ -89,6 +89,7 @@ public class GameSettings {
|
||||||
* Sets the number of jokers in game
|
* Sets the number of jokers in game
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
|
* how many jokers will be used
|
||||||
*/
|
*/
|
||||||
public void setJokerNumber(int value) {
|
public void setJokerNumber(int value) {
|
||||||
jokerNumber = value;
|
jokerNumber = value;
|
||||||
|
@ -116,7 +117,7 @@ public class GameSettings {
|
||||||
* Set the highest stone value in use
|
* Set the highest stone value in use
|
||||||
*
|
*
|
||||||
* @param highestValue
|
* @param highestValue
|
||||||
* highest stone value
|
* highest stone value
|
||||||
*/
|
*/
|
||||||
public void setHighestValue(int highestValue) {
|
public void setHighestValue(int highestValue) {
|
||||||
this.highestValue = highestValue;
|
this.highestValue = highestValue;
|
||||||
|
@ -135,7 +136,7 @@ public class GameSettings {
|
||||||
* Set the number of sets of stones in use
|
* Set the number of sets of stones in use
|
||||||
*
|
*
|
||||||
* @param stoneSets
|
* @param stoneSets
|
||||||
* sets of stones in use
|
* sets of stones in use
|
||||||
*/
|
*/
|
||||||
public void setStoneSetNumber(int stoneSets) {
|
public void setStoneSetNumber(int stoneSets) {
|
||||||
this.stoneSetNumber = stoneSets;
|
this.stoneSetNumber = stoneSets;
|
||||||
|
@ -154,7 +155,7 @@ public class GameSettings {
|
||||||
* Set whether "No-Limits" rules are used
|
* Set whether "No-Limits" rules are used
|
||||||
*
|
*
|
||||||
* @param noLimits
|
* @param noLimits
|
||||||
* use no limit rules
|
* use no limit rules
|
||||||
*/
|
*/
|
||||||
public void setNoLimits(boolean noLimits) {
|
public void setNoLimits(boolean noLimits) {
|
||||||
this.noLimits = noLimits;
|
this.noLimits = noLimits;
|
||||||
|
@ -173,7 +174,7 @@ public class GameSettings {
|
||||||
* Set stone colors used
|
* Set stone colors used
|
||||||
*
|
*
|
||||||
* @param stoneColors
|
* @param stoneColors
|
||||||
* used stone colors
|
* used stone colors
|
||||||
*/
|
*/
|
||||||
public void setStoneColors(Set<StoneColor> stoneColors) {
|
public void setStoneColors(Set<StoneColor> stoneColors) {
|
||||||
this.stoneColors = stoneColors;
|
this.stoneColors = stoneColors;
|
||||||
|
@ -192,6 +193,7 @@ public class GameSettings {
|
||||||
* Set number of stones dealt at game start
|
* Set number of stones dealt at game start
|
||||||
*
|
*
|
||||||
* @param number
|
* @param number
|
||||||
|
* how many Stones will be dealt initially
|
||||||
*/
|
*/
|
||||||
public void setNumberOfStonesDealt(int number) {
|
public void setNumberOfStonesDealt(int number) {
|
||||||
numberOfStonesDealt = number;
|
numberOfStonesDealt = number;
|
||||||
|
|
BIN
uml/uml.juth
BIN
uml/uml.juth
Binary file not shown.
Reference in a new issue