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:
Bennet Gerlach 2011-05-31 03:45:32 +02:00
parent 278edc37a9
commit d276b03c39
10 changed files with 140 additions and 137 deletions

View file

@ -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;
}

View file

@ -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;
}