From 2f4f2f79aed8752bd2164d0677e042716843304a Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 3 May 2011 19:54:46 +0200 Subject: GameState fertig und getestet git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@92 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/GameState.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/jrummikub') diff --git a/src/jrummikub/model/GameState.java b/src/jrummikub/model/GameState.java index 83aeff6..17b3ed0 100644 --- a/src/jrummikub/model/GameState.java +++ b/src/jrummikub/model/GameState.java @@ -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(); + } + /** Changes the activePlayer to the next {@link Player} in the list */ public void nextPlayer() { } public Player activePlayer() { - // TODO implement this - return null; + } } -- cgit v1.2.3