AIUtil now needs game settings, both hand and player do not anymore
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@342 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
278edc37a9
commit
d276b03c39
10 changed files with 140 additions and 137 deletions
|
@ -78,12 +78,12 @@ public class MockHand implements IHand {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int getStonePoints() {
|
||||
public int getStonePoints(GameSettings settings) {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
public boolean isInitialMeldPossible() {
|
||||
public boolean isInitialMeldPossible(GameSettings settings) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,12 +13,12 @@ public class MockPlayer implements IPlayer {
|
|||
|
||||
/**
|
||||
* @param playerSettings
|
||||
* the player settings
|
||||
* the player settings
|
||||
* @param gameSettings
|
||||
* the game settings
|
||||
* the game settings
|
||||
*/
|
||||
public MockPlayer(PlayerSettings playerSettings, GameSettings gameSettings) {
|
||||
hand = new Hand(gameSettings);
|
||||
hand = new Hand();
|
||||
this.playerSettings = playerSettings;
|
||||
laidOut = false;
|
||||
}
|
||||
|
|
Reference in a new issue