diff options
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r-- | src/jrummikub/model/Direction.java | 7 | ||||
-rw-r--r-- | src/jrummikub/model/StoneTray.java | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/jrummikub/model/Direction.java b/src/jrummikub/model/Direction.java deleted file mode 100644 index 88b2aeb..0000000 --- a/src/jrummikub/model/Direction.java +++ /dev/null @@ -1,7 +0,0 @@ -package jrummikub.model; - -/** Possible move directions in case of overlapping Stones/Sets */ - -public enum Direction { - LEFT, RIGHT, TOP, BOTTOM; -} diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java index 1eb3b0e..ff32153 100644 --- a/src/jrummikub/model/StoneTray.java +++ b/src/jrummikub/model/StoneTray.java @@ -14,6 +14,13 @@ public class StoneTray<E extends Sizeable> implements Iterable<Pair<E, Position>> { protected List<Pair<E, Position>> objects = new ArrayList<Pair<E, Position>>(); + /** Possible move directions in case of overlapping Stones/Sets */ + + private static enum Direction { + LEFT, RIGHT, TOP, BOTTOM; + } + + /** * Removes object from tray and returns it * |