From 2446671f7ab832cca5e0412ae0301b901e0b69d5 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 24 May 2011 01:51:49 +0200 Subject: Cleaned up RoundControl tests git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@260 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/GameSettings.java | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'src/jrummikub/model/GameSettings.java') diff --git a/src/jrummikub/model/GameSettings.java b/src/jrummikub/model/GameSettings.java index 8ace0fb..b5079d4 100644 --- a/src/jrummikub/model/GameSettings.java +++ b/src/jrummikub/model/GameSettings.java @@ -6,7 +6,7 @@ import java.util.List; /** * The overall game settings */ -public class GameSettings implements IGameSettings { +public class GameSettings { private List players = new ArrayList(); private int initialMeldThreshold; @@ -18,26 +18,30 @@ public class GameSettings implements IGameSettings { initialMeldThreshold = 30; } - /* (non-Javadoc) - * @see jrummikub.model.IGameSettings#getPlayerList() + /** + * Returns the list containing the settings of all players + * + * @return the player settings list */ - @Override public List getPlayerList() { return players; } - /* (non-Javadoc) - * @see jrummikub.model.IGameSettings#setInitialMeldThreshold(int) + /** + * Sets the initial meld threshold + * + * @param value + * the value to set */ - @Override public void setInitialMeldThreshold(int value) { initialMeldThreshold = value; } - /* (non-Javadoc) - * @see jrummikub.model.IGameSettings#getInitialMeldThreshold() + /** + * Returns the initial meld threshold + * + * @return the threshold */ - @Override public int getInitialMeldThreshold() { return initialMeldThreshold; } -- cgit v1.2.3