Added missing calls to startTurn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@149 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
8ad8432d85
commit
44ee94041a
2 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class RoundControl {
|
||||||
endOfTurn();
|
endOfTurn();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// turnControl.startTurn();
|
turnControl.startTurn();
|
||||||
}
|
}
|
||||||
|
|
||||||
void deal() {
|
void deal() {
|
||||||
|
|
|
@ -85,6 +85,8 @@ public class TurnControlTest {
|
||||||
mockHand.iterable = stones;
|
mockHand.iterable = stones;
|
||||||
|
|
||||||
testControl = new TurnControl(mockHand, mockTable, mockView, mockTimer);
|
testControl = new TurnControl(mockHand, mockTable, mockView, mockTimer);
|
||||||
|
|
||||||
|
testControl.startTurn();
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (Pair<Stone, Position> pair : mockView.playerPanel.handPanel.stones) {
|
for (Pair<Stone, Position> pair : mockView.playerPanel.handPanel.stones) {
|
||||||
|
|
Reference in a new issue