Make player name setup work

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@281 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-05-26 01:33:17 +02:00
parent 10cd2cb902
commit 04df1a24d8
7 changed files with 183 additions and 24 deletions

View file

@ -39,4 +39,24 @@ public class PlayerSettings {
public String getName() {
return name;
}
/**
* Sets the player's color
*
* @param color
* the new color
*/
public void setColor(Color color) {
this.color = color;
}
/**
* Sets the player's name
*
* @param name
* the new name
*/
public void setName(String name) {
this.name = name;
}
}