summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IGameState.java
blob: df98a2c05a4d4f65a9fd8136d796a296d9c99619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package jrummikub.model;

public interface IGameState {

	public ITable getTable();
	public void setTable(ITable table);

	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();

	public IPlayer getNthNextPlayer(int i);

}