diff options
author | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-10 02:42:31 +0200 |
---|---|---|
committer | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-10 02:42:31 +0200 |
commit | b14a707d4fca0560437189fecce93cf21c38cbf6 (patch) | |
tree | afd042e6b5c6b16cc1097e2c9623d38e8fea74d9 /src/jrummikub/model | |
parent | 9c056cfef76e310d049e718f0795771ca4cda678 (diff) | |
download | JRummikub-b14a707d4fca0560437189fecce93cf21c38cbf6.tar JRummikub-b14a707d4fca0560437189fecce93cf21c38cbf6.zip |
Added toString and equals tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@210 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r-- | src/jrummikub/model/StoneTray.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java index 6b54e3e..16ffa46 100644 --- a/src/jrummikub/model/StoneTray.java +++ b/src/jrummikub/model/StoneTray.java @@ -20,20 +20,6 @@ public class StoneTray<E extends Sizeable> implements IStoneTray<E> { protected static enum Direction { LEFT, RIGHT, TOP, BOTTOM; - - public Direction reverse() { - switch (this) { - case LEFT: - return RIGHT; - case RIGHT: - return LEFT; - case TOP: - return BOTTOM; - case BOTTOM: - return TOP; - } - return null; - } } @Override |