summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Table.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model/Table.java')
-rw-r--r--src/jrummikub/model/Table.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jrummikub/model/Table.java b/src/jrummikub/model/Table.java
index e82ca03..232986f 100644
--- a/src/jrummikub/model/Table.java
+++ b/src/jrummikub/model/Table.java
@@ -4,7 +4,7 @@ import jrummikub.util.Pair;
/** Class administering the {@link Stone}s on the game-Table */
-public class Table extends StoneTray<StoneSet> {
+public class Table extends StoneTray<StoneSet> implements ITable {
/**
* Removes {@link Stone} from the Table
@@ -12,6 +12,7 @@ public class Table extends StoneTray<StoneSet> {
* @param stone
* stone to pick up
*/
+ @Override
public void pickUpStone(Stone stone) {
// Find the set of the stone
StoneSet set = null;
@@ -66,6 +67,7 @@ public class Table extends StoneTray<StoneSet> {
}
/** Tests the Table for rule conflicts by checking all the {@link StoneSet} */
+ @Override
public boolean isValid() {
for (Pair<StoneSet, Position> i : this) {
if (!i.getFirst().isValid()) {