diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-02 00:31:30 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-02 00:31:30 +0200 |
commit | c241d98ed977d1b8eefa3faa10f5171cefbee84d (patch) | |
tree | 7760fedb294d7965ef3c8ba740b44b87093b6fce /src | |
parent | adcf9fdfb673658b8c6677c23ed06aee3000104b (diff) | |
download | JRummikub-c241d98ed977d1b8eefa3faa10f5171cefbee84d.tar JRummikub-c241d98ed977d1b8eefa3faa10f5171cefbee84d.zip |
Made Direction a private static inner class of StoneTray
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@56 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src')
-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 * |