summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jrummikub/model/IPlayer.java2
-rw-r--r--src/jrummikub/model/Player.java6
2 files changed, 7 insertions, 1 deletions
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() {