diff options
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r-- | src/jrummikub/model/GameSettings.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jrummikub/model/GameSettings.java b/src/jrummikub/model/GameSettings.java index 7713e85..55419a4 100644 --- a/src/jrummikub/model/GameSettings.java +++ b/src/jrummikub/model/GameSettings.java @@ -247,4 +247,9 @@ public class GameSettings implements Serializable { return (humans == 1); } + + public int getTotalStones() { + return getHighestValue() * getStoneSetNumber() + * getStoneColors().size() + getJokerNumber(); + } } |