GameState fertig und getestet

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@92 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Ida Massow 2011-05-03 19:54:46 +02:00
parent cbd8737a6a
commit 2f4f2f79ae

View file

@ -1,5 +1,6 @@
package jrummikub.model;
import java.util.ArrayList;
import java.util.List;
/** Class managing the overall and momentary GameState */
@ -9,14 +10,17 @@ public class GameState {
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() {
// TODO implement this
return null;
}
}