diff options
Diffstat (limited to 'src/jrummikub/model/IGameState.java')
-rw-r--r-- | src/jrummikub/model/IGameState.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/jrummikub/model/IGameState.java b/src/jrummikub/model/IGameState.java new file mode 100644 index 0000000..56ab917 --- /dev/null +++ b/src/jrummikub/model/IGameState.java @@ -0,0 +1,18 @@ +package jrummikub.model; + +public interface IGameState { + + public ITable getTable(); + + public int getPlayerCount(); + + public IPlayer getPlayer(int i); + + /** Changes the activePlayer to the next {@link Player} in the list */ + public void nextPlayer(); + + public IPlayer getActivePlayer(); + + public StoneHeap getGameHeap(); + +}
\ No newline at end of file |