diff options
Diffstat (limited to 'src/jrummikub/model/IHand.java')
-rw-r--r-- | src/jrummikub/model/IHand.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/jrummikub/model/IHand.java b/src/jrummikub/model/IHand.java index 5ac7537..c6755c7 100644 --- a/src/jrummikub/model/IHand.java +++ b/src/jrummikub/model/IHand.java @@ -16,7 +16,7 @@ public interface IHand extends IStoneTray<Stone> { * Gets the amount of free space in a hand row
*
* @param row
- * the row number
+ * the row number
* @return the number of stones that can fit into the row
*/
int getFreeRowSpace(int row);
@@ -24,17 +24,23 @@ public interface IHand extends IStoneTray<Stone> { /**
* Get the accumulated number of points of stones in the hand
*
+ * @param settings
+ * the game settings
+ *
* @return points
*/
- int getStonePoints();
+ int getStonePoints(GameSettings settings);
/**
* Tests whether it is possible to lay down an initial meld using the stones
* on the hand
*
+ * @param settings
+ * the game settings
+ *
* @return true if an initial meld is possible
*/
- public boolean isInitialMeldPossible();
+ public boolean isInitialMeldPossible(GameSettings settings);
/**
* Counts the pairs of identical stones
|