blob: 17b3ed0a696446935ac085a17d6aa63967324d68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package jrummikub.model;
import java.util.ArrayList;
import java.util.List;
/** Class managing the overall and momentary GameState */
public class GameState {
private Table table;
private List<Player> players;
private int activePlayer;
private StoneHeap gameHeap;
public GameState() {
this.players=new ArrayList<Player>();
}
/** Changes the activePlayer to the next {@link Player} in the list */
public void nextPlayer() {
}
public Player activePlayer() {
}
}
|