summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/GameSettings.java
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:49 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:49 +0200
commit2446671f7ab832cca5e0412ae0301b901e0b69d5 (patch)
tree00dc3910836e3e84162ba8dfd997d013fad40b12 /src/jrummikub/model/GameSettings.java
parent102299d0ffc15a08167f6eab8b9813c2f7dcda3b (diff)
downloadJRummikub-2446671f7ab832cca5e0412ae0301b901e0b69d5.tar
JRummikub-2446671f7ab832cca5e0412ae0301b901e0b69d5.zip
Cleaned up RoundControl tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@260 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model/GameSettings.java')
-rw-r--r--src/jrummikub/model/GameSettings.java24
1 files changed, 14 insertions, 10 deletions
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<PlayerSettings> players = new ArrayList<PlayerSettings>();
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<PlayerSettings> 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;
}