Add some endOfTurn handling to RoundControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@155 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
0b66e7d763
commit
38f6f0dc24
6 changed files with 254 additions and 219 deletions
|
@ -6,6 +6,7 @@ import java.util.List;
|
|||
|
||||
public class MockGameState implements IGameState {
|
||||
public MockTable table;
|
||||
public ITable setTable;
|
||||
public List<MockPlayer> 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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue