Fix dealing stones for more than 2 rows

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@244 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-05-16 22:01:02 +02:00
parent 57227570fe
commit 604ef91282
7 changed files with 89 additions and 48 deletions

View file

@ -65,4 +65,15 @@ public class MockHand implements IHand {
return null;
}
}
@Override
public int getRowCount() {
return 0;
}
@Override
public int getFreeRowSpace(int row) {
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -7,7 +7,7 @@ import java.awt.Color;
*/
public class MockPlayer implements IPlayer {
/** */
public MockHand hand;
public Hand hand;
/** */
public String name;
/** */
@ -20,7 +20,7 @@ public class MockPlayer implements IPlayer {
* the player color
*/
public MockPlayer(String name, Color color) {
hand = new MockHand();
hand = new Hand();
this.name = name;
this.color = color;
}