diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-24 21:57:18 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-24 21:57:18 +0200 |
commit | 8c3c66f361934e521ef7d00e9464cfc51875badc (patch) | |
tree | 4fc46e934555edd4f2a7011798dcc5a8f30abbfa /src/jrummikub/model/IHand.java | |
parent | d5a8b2204c7b717e0b1f24fed0892091835356ed (diff) | |
download | JRummikub-8c3c66f361934e521ef7d00e9464cfc51875badc.tar JRummikub-8c3c66f361934e521ef7d00e9464cfc51875badc.zip |
Implemented routine to check if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@266 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model/IHand.java')
-rw-r--r-- | src/jrummikub/model/IHand.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jrummikub/model/IHand.java b/src/jrummikub/model/IHand.java index a58c7be..afe5c12 100644 --- a/src/jrummikub/model/IHand.java +++ b/src/jrummikub/model/IHand.java @@ -28,5 +28,11 @@ public interface IHand extends IStoneTray<Stone> { */
int getStonePoints();
+ /**
+ * Tests whether it is possible to lay down an initial meld using the stones
+ * on the hand
+ *
+ * @return true if an initial meld is possible
+ */
public abstract boolean isInitialMeldPossible();
}
|