diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-25 17:10:43 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-25 17:10:43 +0200 |
commit | a1c0cb89f67386738fc59426fd68737a393e1827 (patch) | |
tree | 8f0603073d4ea10919ce74840bb1d7514553bcb2 /src/jrummikub/model/IRoundState.java | |
parent | 157bd4f60635dc27d2c9baebea5589455b05f17b (diff) | |
download | JRummikub-a1c0cb89f67386738fc59426fd68737a393e1827.tar JRummikub-a1c0cb89f67386738fc59426fd68737a393e1827.zip |
Added test and implementation for an inspection turn before the first
turn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@273 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model/IRoundState.java')
-rw-r--r-- | src/jrummikub/model/IRoundState.java | 14 |
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 |