PlayerSettings haben nur och eine Konstruktor, der auch sinnvolle Sachen macht
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@360 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
6bc5405bbf
commit
2e819f352b
1 changed files with 1 additions and 17 deletions
|
@ -12,22 +12,6 @@ public class PlayerSettings {
|
|||
private Color color;
|
||||
private TurnControlFactory.Type turnControlType;
|
||||
|
||||
/**
|
||||
* Create a new player
|
||||
*
|
||||
* @param name
|
||||
* the player's name
|
||||
* @param color
|
||||
* the player's color
|
||||
* @param turnControlFactory
|
||||
* the player's {@link TurnControlFactory}
|
||||
*/
|
||||
public PlayerSettings(String name, Color color,
|
||||
TurnControlFactory turnControlFactory) {
|
||||
this.name = name;
|
||||
this.color = color;
|
||||
this.turnControlType = TurnControlFactory.Type.HUMAN;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new human player
|
||||
|
|
Reference in a new issue