From 38f6f0dc24bd2755786f8a7947743feadb505b7f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 5 May 2011 21:13:59 +0200 Subject: Add some endOfTurn handling to RoundControl git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@155 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/model/MockGameState.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mock/jrummikub/model') diff --git a/mock/jrummikub/model/MockGameState.java b/mock/jrummikub/model/MockGameState.java index e6b8622..fd83e55 100644 --- a/mock/jrummikub/model/MockGameState.java +++ b/mock/jrummikub/model/MockGameState.java @@ -6,6 +6,7 @@ import java.util.List; public class MockGameState implements IGameState { public MockTable table; + public ITable setTable; public List players; public int activePlayer; public StoneHeap gameHeap; @@ -56,4 +57,9 @@ public class MockGameState implements IGameState { public IPlayer getNthNextPlayer(int i) { return players.get((activePlayer + i) % players.size()); } + + @Override + public void setTable(ITable table) { + setTable = table; + } } -- cgit v1.2.3