summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:58 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:58 +0200
commitd5a8b2204c7b717e0b1f24fed0892091835356ed (patch)
tree2b3f1e8082b935bcda6bb654d514f06b4667b73d /mock
parent4a98975b0da4baa4158140ba85f39ffa669ba7a8 (diff)
downloadJRummikub-d5a8b2204c7b717e0b1f24fed0892091835356ed.tar
JRummikub-d5a8b2204c7b717e0b1f24fed0892091835356ed.zip
Test if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@265 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/model/MockHand.java4
-rw-r--r--mock/jrummikub/model/MockPlayer.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/mock/jrummikub/model/MockHand.java b/mock/jrummikub/model/MockHand.java
index c69ae7b..c3caf42 100644
--- a/mock/jrummikub/model/MockHand.java
+++ b/mock/jrummikub/model/MockHand.java
@@ -82,4 +82,8 @@ public class MockHand implements IHand {
// TODO Auto-generated method stub
return 0;
}
+
+ public boolean isInitialMeldPossible() {
+ return false;
+ }
}
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java
index 19c7014..81b22f5 100644
--- a/mock/jrummikub/model/MockPlayer.java
+++ b/mock/jrummikub/model/MockPlayer.java
@@ -5,7 +5,7 @@ package jrummikub.model;
*/
public class MockPlayer implements IPlayer {
/** */
- public Hand hand;
+ public IHand hand;
/** */
public PlayerSettings playerSettings;
/** */