From 04df1a24d830dab98bd9ed7f623e5499ead0c424 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 26 May 2011 01:33:17 +0200 Subject: Make player name setup work git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@281 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/PlayerSettings.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/jrummikub/model') 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; + } } -- cgit v1.2.3