summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model/MockRoundState.java
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/model/MockRoundState.java')
-rw-r--r--mock/jrummikub/model/MockRoundState.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/mock/jrummikub/model/MockRoundState.java b/mock/jrummikub/model/MockRoundState.java
index b7ec1eb..7b58fab 100644
--- a/mock/jrummikub/model/MockRoundState.java
+++ b/mock/jrummikub/model/MockRoundState.java
@@ -25,10 +25,10 @@ public class MockRoundState implements IRoundState {
public MockRoundState() {
table = new MockTable();
players = new ArrayList<MockPlayer>();
- players.add(new MockPlayer("Player 1", Color.RED));
- players.add(new MockPlayer("Player 2", Color.YELLOW));
- players.add(new MockPlayer("Player 3", Color.GREEN));
- players.add(new MockPlayer("Player 4", Color.BLACK));
+ players.add(new MockPlayer(new PlayerSettings("Player 1", Color.RED)));
+ players.add(new MockPlayer(new PlayerSettings("Player 2", Color.YELLOW)));
+ players.add(new MockPlayer(new PlayerSettings("Player 3", Color.GREEN)));
+ players.add(new MockPlayer(new PlayerSettings("Player 4", Color.BLACK)));
activePlayer = 0;
gameHeap = new StoneHeap();
gameSettings = new GameSettings();