summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/model')
-rw-r--r--mock/jrummikub/model/MockHand.java11
-rw-r--r--mock/jrummikub/model/MockPlayer.java4
2 files changed, 13 insertions, 2 deletions
diff --git a/mock/jrummikub/model/MockHand.java b/mock/jrummikub/model/MockHand.java
index d262c87..30bda51 100644
--- a/mock/jrummikub/model/MockHand.java
+++ b/mock/jrummikub/model/MockHand.java
@@ -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;
+ }
}
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java
index d9c4a43..214a4e0 100644
--- a/mock/jrummikub/model/MockPlayer.java
+++ b/mock/jrummikub/model/MockPlayer.java
@@ -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;
}