From e4a1246f01c2a017042a2a80cc2e9a1e6b4bbd51 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 29 May 2011 20:36:26 +0200 Subject: Viele Warnings durch Kommentare beseitigt git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@312 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneHeap.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/StoneHeap.java b/src/jrummikub/model/StoneHeap.java index 12dcc21..241cbc7 100644 --- a/src/jrummikub/model/StoneHeap.java +++ b/src/jrummikub/model/StoneHeap.java @@ -15,8 +15,13 @@ import java.util.Random; public class StoneHeap { List heap; private Random generator = new Random(); - - /** Creates 106 Stones according to standard rules */ + + /** + * Creates 106 Stones according to standard rules + * + * @param gameSettings + * (for number of sets/jokers, colors etc.) + * */ public StoneHeap(GameSettings gameSettings) { heap = new ArrayList(); for (int i = 1; i <= 13; i++) { @@ -35,7 +40,7 @@ public class StoneHeap { jokerColors.set(3, temp); int jokersLeft = gameSettings.getJokerNumber(); - done : while(true) { + done: while (true) { for (StoneColor c : jokerColors) { if (jokersLeft == 0) break done; -- cgit v1.2.3