summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/model/MockRoundState.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockRoundState.java b/mock/jrummikub/model/MockRoundState.java
index 9346783..b7ec1eb 100644
--- a/mock/jrummikub/model/MockRoundState.java
+++ b/mock/jrummikub/model/MockRoundState.java
@@ -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;
+ }
}