From 0b252810c9eb0f822c50d144b2ef0c652202d871 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Wed, 18 May 2011 15:31:37 +0200 Subject: =?UTF-8?q?Keine=20Fehler=20mehr,=20sorry=20f=C3=BCr=20das=20davor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@250 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/IPlayer.java | 2 +- src/jrummikub/model/Player.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/IPlayer.java b/src/jrummikub/model/IPlayer.java index 1a51e65..ebe77fa 100644 --- a/src/jrummikub/model/IPlayer.java +++ b/src/jrummikub/model/IPlayer.java @@ -28,6 +28,6 @@ public interface IPlayer { */ public String getName(); - boolean getCameOut(); + boolean getLaidOut(); } \ No newline at end of file diff --git a/src/jrummikub/model/Player.java b/src/jrummikub/model/Player.java index ddd10e4..9444b5a 100644 --- a/src/jrummikub/model/Player.java +++ b/src/jrummikub/model/Player.java @@ -8,6 +8,7 @@ public class Player implements IPlayer { private IHand hand; private String name; private Color color; + private boolean laidOut; /** * Create a new player with a given name and color @@ -27,6 +28,11 @@ public class Player implements IPlayer { public IHand getHand() { return hand; } + + @Override + public boolean getLaidOut() { + return laidOut; + } @Override public Color getColor() { -- cgit v1.2.3