summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/IGameSettings.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/jrummikub/model/IGameSettings.java b/src/jrummikub/model/IGameSettings.java
new file mode 100644
index 0000000..68e801a
--- /dev/null
+++ b/src/jrummikub/model/IGameSettings.java
@@ -0,0 +1,29 @@
+package jrummikub.model;
+
+import java.util.List;
+
+public interface IGameSettings {
+
+ /**
+ * Returns the list containing the settings of all players
+ *
+ * @return the player settings list
+ */
+ public List<PlayerSettings> getPlayerList();
+
+ /**
+ * Sets the initial meld threshold
+ *
+ * @param value
+ * the value to set
+ */
+ public void setInitialMeldThreshold(int value);
+
+ /**
+ * Returns the initial meld threshold
+ *
+ * @return the threshold
+ */
+ public int getInitialMeldThreshold();
+
+} \ No newline at end of file