summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-26 01:33:17 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-26 01:33:17 +0200
commit04df1a24d830dab98bd9ed7f623e5499ead0c424 (patch)
treedf7e2f34ed2085925634414096a23abadbaed5f9 /src/jrummikub/model
parent10cd2cb9024c457c99e25be25ead4071407073fd (diff)
downloadJRummikub-04df1a24d830dab98bd9ed7f623e5499ead0c424.tar
JRummikub-04df1a24d830dab98bd9ed7f623e5499ead0c424.zip
Make player name setup work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@281 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/PlayerSettings.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/jrummikub/model/PlayerSettings.java b/src/jrummikub/model/PlayerSettings.java
index 87c2a27..5ba01b5 100644
--- a/src/jrummikub/model/PlayerSettings.java
+++ b/src/jrummikub/model/PlayerSettings.java
@@ -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;
+ }
}