summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IRoundState.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model/IRoundState.java')
-rw-r--r--src/jrummikub/model/IRoundState.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/jrummikub/model/IRoundState.java b/src/jrummikub/model/IRoundState.java
index faed6cf..1f6da15 100644
--- a/src/jrummikub/model/IRoundState.java
+++ b/src/jrummikub/model/IRoundState.java
@@ -94,4 +94,18 @@ public interface IRoundState {
*/
public void setActivePlayerNumber(int i);
+ /**
+ * Gets the number of the current turn. Numbers smaller than one indicate
+ * hand inspection turns
+ *
+ * @return current turn number
+ */
+ public abstract int getTurnNumber();
+
+ /**
+ * Increments the turn number
+ *
+ */
+ public void nextTurn();
+
} \ No newline at end of file