summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/ITable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model/ITable.java')
-rw-r--r--src/jrummikub/model/ITable.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jrummikub/model/ITable.java b/src/jrummikub/model/ITable.java
index 16fd4d3..1c3fd9f 100644
--- a/src/jrummikub/model/ITable.java
+++ b/src/jrummikub/model/ITable.java
@@ -1,5 +1,7 @@
package jrummikub.model;
+import jrummikub.util.Pair;
+
public interface ITable extends IStoneTray<StoneSet> {
/**
@@ -7,8 +9,9 @@ public interface ITable extends IStoneTray<StoneSet> {
*
* @param stone
* stone to pick up
+ * @return the stone sets that are created by taking pickung the the stone
*/
- public void pickUpStone(Stone stone);
+ public Pair<StoneSet, StoneSet> pickUpStone(Stone stone);
/** Tests the Table for rule conflicts by checking all the {@link StoneSet} */
public boolean isValid();