summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/model/MockGameState.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockGameState.java b/mock/jrummikub/model/MockGameState.java
index e6b8622..fd83e55 100644
--- a/mock/jrummikub/model/MockGameState.java
+++ b/mock/jrummikub/model/MockGameState.java
@@ -6,6 +6,7 @@ import java.util.List;
public class MockGameState implements IGameState {
public MockTable table;
+ public ITable setTable;
public List<MockPlayer> players;
public int activePlayer;
public StoneHeap gameHeap;
@@ -56,4 +57,9 @@ public class MockGameState implements IGameState {
public IPlayer getNthNextPlayer(int i) {
return players.get((activePlayer + i) % players.size());
}
+
+ @Override
+ public void setTable(ITable table) {
+ setTable = table;
+ }
}