diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-24 01:51:58 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-24 01:51:58 +0200 |
commit | d5a8b2204c7b717e0b1f24fed0892091835356ed (patch) | |
tree | 2b3f1e8082b935bcda6bb654d514f06b4667b73d /mock | |
parent | 4a98975b0da4baa4158140ba85f39ffa669ba7a8 (diff) | |
download | JRummikub-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.java | 4 | ||||
-rw-r--r-- | mock/jrummikub/model/MockPlayer.java | 2 |
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; /** */ |