Add GameSettings with the initial meld threshold

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@251 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-05-18 16:02:23 +02:00
parent 0b252810c9
commit 5169f31af0
7 changed files with 77 additions and 10 deletions

View file

@ -18,6 +18,8 @@ public class MockRoundState implements IRoundState {
public int activePlayer;
/** */
public StoneHeap gameHeap;
/** */
public GameSettings gameSettings;
/** */
public MockRoundState() {
@ -29,6 +31,7 @@ public class MockRoundState implements IRoundState {
players.add(new MockPlayer("Player 4", Color.BLACK));
activePlayer = 0;
gameHeap = new StoneHeap();
gameSettings = new GameSettings();
}
@Override
@ -66,4 +69,9 @@ public class MockRoundState implements IRoundState {
public void setTable(ITable table) {
setTable = table;
}
@Override
public GameSettings getGameSettings() {
return gameSettings;
}
}