diff options
Diffstat (limited to 'test/jrummikub/model/MockHand.java')
-rw-r--r-- | test/jrummikub/model/MockHand.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/test/jrummikub/model/MockHand.java b/test/jrummikub/model/MockHand.java deleted file mode 100644 index 2132ff4..0000000 --- a/test/jrummikub/model/MockHand.java +++ /dev/null @@ -1,54 +0,0 @@ -package jrummikub.model; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import jrummikub.util.Pair; - -public class MockHand implements IHand { - - public List<Stone> stones = new ArrayList<Stone>(); - - public Iterable<Pair<Stone, Position>> iterable; - - @Override - public Stone pickUp(Position position) { - return null; - } - - @Override - public void drop(Stone object, Position position) { - stones.add(object); - } - - @Override - public Position getPosition(Stone object) { - // TODO Auto-generated method stub - return null; - } - - @Override - public void pickUp(Stone object) { - // TODO Auto-generated method stub - - } - - @Override - public int getSize() { - return stones.size(); - } - - @Override - public Iterator<Pair<Stone, Position>> iterator() { - return iterable.iterator(); - } - - public MockHand clone() { - try { - return (MockHand) super.clone(); - } catch (CloneNotSupportedException e) { - return null; - } - } -} |