Add stone dealing to RoundControl and fix some tests... again.

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@160 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-05-05 23:29:07 +02:00
parent 511b1139ea
commit 55b19cef1d
3 changed files with 7 additions and 4 deletions

View file

@ -116,7 +116,11 @@ public class RoundControl {
}
private void dealStone() {
// gameState.getActivePlayer().getHand().drop(object, position)
gameState
.getActivePlayer()
.getHand()
.drop(gameState.getGameHeap().drawStone(),
new Position(7 + (int) (Math.random() * 6), 0.5f));
}
private void dealPenalty(int count) {