diff options
author | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-31 03:45:32 +0200 |
---|---|---|
committer | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-31 03:45:32 +0200 |
commit | d276b03c395e7c0e44740174168c0d98a8eaa06c (patch) | |
tree | 95642c255b484354769b7cb2ed4f9a65beb5a14e /mock | |
parent | 278edc37a9861078d5ea1527695ef12766c0fb87 (diff) | |
download | JRummikub-d276b03c395e7c0e44740174168c0d98a8eaa06c.tar JRummikub-d276b03c395e7c0e44740174168c0d98a8eaa06c.zip |
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
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/model/MockHand.java | 4 | ||||
-rw-r--r-- | mock/jrummikub/model/MockPlayer.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mock/jrummikub/model/MockHand.java b/mock/jrummikub/model/MockHand.java index 25e2edc..ab949d0 100644 --- a/mock/jrummikub/model/MockHand.java +++ b/mock/jrummikub/model/MockHand.java @@ -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; } diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java index 7985a1f..9bd1036 100644 --- a/mock/jrummikub/model/MockPlayer.java +++ b/mock/jrummikub/model/MockPlayer.java @@ -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; } |