diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-16 22:46:43 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-16 22:46:43 +0200 |
commit | d0a70145772a17ab75db4c705efb421e3bcce378 (patch) | |
tree | 721cfd100356618febb1437fca7bee5299138553 | |
parent | c4c091eb61738dc9a1b816dbf0b13657f6f881fa (diff) | |
download | JRummikub-d0a70145772a17ab75db4c705efb421e3bcce378.tar JRummikub-d0a70145772a17ab75db4c705efb421e3bcce378.zip |
Anfang von rauskommen im Player gebaut, test angefangen
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@248 72836036-5685-4462-b002-a69064685172
-rw-r--r-- | mock/jrummikub/model/MockPlayer.java | 8 | ||||
-rw-r--r-- | src/jrummikub/model/IPlayer.java | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java index 214a4e0..cb9adaa 100644 --- a/mock/jrummikub/model/MockPlayer.java +++ b/mock/jrummikub/model/MockPlayer.java @@ -12,6 +12,8 @@ public class MockPlayer implements IPlayer { public String name; /** */ public Color color; + /** */ + public boolean cameOut; /** * @param name @@ -23,9 +25,15 @@ public class MockPlayer implements IPlayer { hand = new Hand(); this.name = name; this.color = color; + this.cameOut=false; } @Override + public boolean getCameOut() { + return cameOut; + } + + @Override public IHand getHand() { return hand; } diff --git a/src/jrummikub/model/IPlayer.java b/src/jrummikub/model/IPlayer.java index 3eca44b..1a51e65 100644 --- a/src/jrummikub/model/IPlayer.java +++ b/src/jrummikub/model/IPlayer.java @@ -28,4 +28,6 @@ public interface IPlayer { */ public String getName(); + boolean getCameOut(); + }
\ No newline at end of file |