summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jrummikub/control/RoundControl.java2
-rw-r--r--test/jrummikub/control/TurnControlTest.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java
index 6e02ef2..8f8180d 100644
--- a/src/jrummikub/control/RoundControl.java
+++ b/src/jrummikub/control/RoundControl.java
@@ -60,7 +60,7 @@ public class RoundControl {
endOfTurn();
}
});
- // turnControl.startTurn();
+ turnControl.startTurn();
}
void deal() {
diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java
index bdec8b8..6a37c67 100644
--- a/test/jrummikub/control/TurnControlTest.java
+++ b/test/jrummikub/control/TurnControlTest.java
@@ -85,6 +85,8 @@ public class TurnControlTest {
mockHand.iterable = stones;
testControl = new TurnControl(mockHand, mockTable, mockView, mockTimer);
+
+ testControl.startTurn();
int i = 0;
for (Pair<Stone, Position> pair : mockView.playerPanel.handPanel.stones) {