From 670fcf2613f6db2a4bfdaa91ac9d90001a90359e Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:59:40 +0200 Subject: docs fertig und vorher repariert git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@232 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/model/IGameState.html | 346 ++++++++++++++++++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 doc/jrummikub/model/IGameState.html (limited to 'doc/jrummikub/model/IGameState.html') diff --git a/doc/jrummikub/model/IGameState.html b/doc/jrummikub/model/IGameState.html new file mode 100644 index 0000000..b18e2a2 --- /dev/null +++ b/doc/jrummikub/model/IGameState.html @@ -0,0 +1,346 @@ + + + + + + +IGameState + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.model +
+Interface IGameState

+
+
All Known Implementing Classes:
GameState
+
+
+
+
public interface IGameState
+ + +

+Interface for GameState model +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ IPlayergetActivePlayer() + +
+          Returns the currently active player
+ StoneHeapgetGameHeap() + +
+          Returns the heap of stones to draw from
+ IPlayergetNthNextPlayer(int i) + +
+          Returns the player that would be the active player after i turns
+ intgetPlayerCount() + +
+          Returns the number of players
+ ITablegetTable() + +
+          Get the current Table
+ voidnextPlayer() + +
+          Changes the activePlayer to the next Player in the list
+ voidsetTable(ITable table) + +
+          Sets the current Table
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTable

+
+ITable getTable()
+
+
Get the current Table +

+

+ +
Returns:
The current Table
+
+
+
+ +

+setTable

+
+void setTable(ITable table)
+
+
Sets the current Table +

+

+
Parameters:
table - The new Table
+
+
+
+ +

+getPlayerCount

+
+int getPlayerCount()
+
+
Returns the number of players +

+

+ +
Returns:
number of players
+
+
+
+ +

+nextPlayer

+
+void nextPlayer()
+
+
Changes the activePlayer to the next Player in the list +

+

+
+
+
+
+ +

+getActivePlayer

+
+IPlayer getActivePlayer()
+
+
Returns the currently active player +

+

+ +
Returns:
currently active player
+
+
+
+ +

+getGameHeap

+
+StoneHeap getGameHeap()
+
+
Returns the heap of stones to draw from +

+

+ +
Returns:
heap of stones
+
+
+
+ +

+getNthNextPlayer

+
+IPlayer getNthNextPlayer(int i)
+
+
Returns the player that would be the active player after i turns +

+

+
Parameters:
i - number of turns +
Returns:
player active after i turns
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3