summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-18 16:02:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-18 16:02:23 +0200
commit5169f31af06926f4c268062791f648f1fdd91656 (patch)
tree4f490bfbcb72a8c1432a5b68cf3726f6373d1e72 /mock
parent0b252810c9eb0f822c50d144b2ef0c652202d871 (diff)
downloadJRummikub-5169f31af06926f4c268062791f648f1fdd91656.tar
JRummikub-5169f31af06926f4c268062791f648f1fdd91656.zip
Add GameSettings with the initial meld threshold
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@251 72836036-5685-4462-b002-a69064685172
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;
+ }
}