summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IHand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model/IHand.java')
-rw-r--r--src/jrummikub/model/IHand.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/jrummikub/model/IHand.java b/src/jrummikub/model/IHand.java
index afe5c12..5ac7537 100644
--- a/src/jrummikub/model/IHand.java
+++ b/src/jrummikub/model/IHand.java
@@ -34,5 +34,12 @@ public interface IHand extends IStoneTray<Stone> {
*
* @return true if an initial meld is possible
*/
- public abstract boolean isInitialMeldPossible();
+ public boolean isInitialMeldPossible();
+
+ /**
+ * Counts the pairs of identical stones
+ *
+ * @return number of identical stone pairs
+ */
+ public int getIdenticalStoneCount();
}