From 5169f31af06926f4c268062791f648f1fdd91656 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 18 May 2011 16:02:23 +0200 Subject: Add GameSettings with the initial meld threshold git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@251 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/model/MockRoundState.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mock/jrummikub') 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; + } } -- cgit v1.2.3