summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 16:53:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 16:53:44 +0200
commit85b5470c051e0f5c4de03694e38e40fc1a0a5225 (patch)
treebdd2a170e1fff9f53349f1cba503bf930261d793 /mock/jrummikub/model
parentfa00c661d51af7d603e68d1e374eac2a5f12a81c (diff)
downloadJRummikub-85b5470c051e0f5c4de03694e38e40fc1a0a5225.tar
JRummikub-85b5470c051e0f5c4de03694e38e40fc1a0a5225.zip
Remove return value of Table.pickUpStone()
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@229 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/model')
-rw-r--r--mock/jrummikub/model/MockPlayer.java4
-rw-r--r--mock/jrummikub/model/MockTable.java3
2 files changed, 4 insertions, 3 deletions
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java
index a9fbd80..d9c4a43 100644
--- a/mock/jrummikub/model/MockPlayer.java
+++ b/mock/jrummikub/model/MockPlayer.java
@@ -15,7 +15,9 @@ public class MockPlayer implements IPlayer {
/**
* @param name
- * @param color
+ * the player name
+ * @param color
+ * the player color
*/
public MockPlayer(String name, Color color) {
hand = new MockHand();
diff --git a/mock/jrummikub/model/MockTable.java b/mock/jrummikub/model/MockTable.java
index 39535ec..bfbf8e9 100644
--- a/mock/jrummikub/model/MockTable.java
+++ b/mock/jrummikub/model/MockTable.java
@@ -22,9 +22,8 @@ public class MockTable implements ITable {
public List<Pair<StoneSet, Position>> sets = new ArrayList<Pair<StoneSet, Position>>();
@Override
- public Pair<StoneSet, StoneSet> pickUpStone(Stone stone) {
+ public void pickUpStone(Stone stone) {
// TODO Auto-generated method stub
- return null;
}
@Override