diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-10 16:53:44 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-10 16:53:44 +0200 |
commit | 85b5470c051e0f5c4de03694e38e40fc1a0a5225 (patch) | |
tree | bdd2a170e1fff9f53349f1cba503bf930261d793 /src/jrummikub/model/ITable.java | |
parent | fa00c661d51af7d603e68d1e374eac2a5f12a81c (diff) | |
download | JRummikub-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 'src/jrummikub/model/ITable.java')
-rw-r--r-- | src/jrummikub/model/ITable.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/jrummikub/model/ITable.java b/src/jrummikub/model/ITable.java index 3b0032f..49db963 100644 --- a/src/jrummikub/model/ITable.java +++ b/src/jrummikub/model/ITable.java @@ -1,7 +1,5 @@ package jrummikub.model;
-import jrummikub.util.Pair;
-
/**
* Interface for the {@link Table} model
*/
@@ -11,10 +9,9 @@ public interface ITable extends IStoneTray<StoneSet> { * Removes {@link Stone} from the Table
*
* @param stone
- * stone to pick up
- * @return the stone sets that are created by taking pickung the the stone
+ * stone to pick up
*/
- public Pair<StoneSet, StoneSet> pickUpStone(Stone stone);
+ public void pickUpStone(Stone stone);
/**
* Tests the Table for rule conflicts by checking all the {@link StoneSet}
@@ -25,7 +22,9 @@ public interface ITable extends IStoneTray<StoneSet> { /**
* Finds the {@link StoneSet} containing the given {@link Stone}
- * @param stone stone whose set we're searching
+ *
+ * @param stone
+ * stone whose set we're searching
* @return the set containing the stone or null if no set was found
*/
StoneSet findStoneSet(Stone stone);
|