summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-29 18:50:54 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-29 18:50:54 +0200
commit699a0b0a2933237039b9b6ac545cc05a34644399 (patch)
tree167f3805cc6c317245003667346de46b43aba80c /mock/jrummikub/model
parentbf8aa23758385601c2fc8f5f7e37b9b3211010cb (diff)
downloadJRummikub-699a0b0a2933237039b9b6ac545cc05a34644399.tar
JRummikub-699a0b0a2933237039b9b6ac545cc05a34644399.zip
Deal the correct number of jokers aka funny joker action
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@303 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/model')
-rw-r--r--mock/jrummikub/model/MockRoundState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mock/jrummikub/model/MockRoundState.java b/mock/jrummikub/model/MockRoundState.java
index bf2f475..3f64d53 100644
--- a/mock/jrummikub/model/MockRoundState.java
+++ b/mock/jrummikub/model/MockRoundState.java
@@ -38,8 +38,8 @@ public class MockRoundState implements IRoundState {
players.add(new MockPlayer(new PlayerSettings("Player 4", Color.BLACK),
gameSettings));
activePlayer = 0;
- gameHeap = new StoneHeap();
gameSettings = new GameSettings();
+ gameHeap = new StoneHeap(gameSettings);
gameSettings.setInitialMeldThreshold(30);
turnNumber = -3;
}