From b14a707d4fca0560437189fecce93cf21c38cbf6 Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Tue, 10 May 2011 02:42:31 +0200 Subject: Added toString and equals tests git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@210 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneTray.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') 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 implements IStoneTray { 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 -- cgit v1.2.3