From ace7175f1a57f3dc88a861842969e84efacf65ad Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 20 Jun 2011 02:19:47 +0200 Subject: Continued side panel git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@499 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/GameSettings.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/jrummikub/model') 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(); + } } -- cgit v1.2.3