Rauskommen fertig und getestet
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@256 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
cb3f9cc011
commit
7354002de5
13 changed files with 324 additions and 181 deletions
|
@ -13,7 +13,7 @@ public class MockPlayer implements IPlayer {
|
|||
|
||||
/**
|
||||
* @param playerSettings
|
||||
* the player settings
|
||||
* the player settings
|
||||
*/
|
||||
public MockPlayer(PlayerSettings playerSettings) {
|
||||
hand = new Hand();
|
||||
|
@ -35,4 +35,9 @@ public class MockPlayer implements IPlayer {
|
|||
public PlayerSettings getPlayerSettings() {
|
||||
return playerSettings;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLaidOut(boolean laidOut) {
|
||||
this.laidOut = laidOut;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public class MockRoundState implements IRoundState {
|
|||
/** */
|
||||
public StoneHeap gameHeap;
|
||||
/** */
|
||||
public GameSettings gameSettings;
|
||||
public IGameSettings gameSettings;
|
||||
|
||||
/** */
|
||||
public MockRoundState() {
|
||||
|
@ -32,6 +32,7 @@ public class MockRoundState implements IRoundState {
|
|||
activePlayer = 0;
|
||||
gameHeap = new StoneHeap();
|
||||
gameSettings = new GameSettings();
|
||||
gameSettings.setInitialMeldThreshold(30);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -71,7 +72,7 @@ public class MockRoundState implements IRoundState {
|
|||
}
|
||||
|
||||
@Override
|
||||
public GameSettings getGameSettings() {
|
||||
public IGameSettings getGameSettings() {
|
||||
return gameSettings;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public class MockTable implements ITable {
|
|||
|
||||
@Override
|
||||
public void pickUpStone(Stone stone) {
|
||||
// TODO Auto-generated method stub
|
||||
// TODO: Auto-generated method stub
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Reference in a new issue