diff options
author | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-05 00:19:02 +0200 |
---|---|---|
committer | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-05 00:19:02 +0200 |
commit | bc827302d0753a67774fd625d0c90eba7d83094f (patch) | |
tree | bcdbec60daa269507fb286e55b2aad4742cb759b /test/jrummikub/model | |
parent | 0318d8cee285d98e69851c450a029a434cd4dce7 (diff) | |
download | JRummikub-bc827302d0753a67774fd625d0c90eba7d83094f.tar JRummikub-bc827302d0753a67774fd625d0c90eba7d83094f.zip |
Show initial hand succeeds
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@136 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r-- | test/jrummikub/model/MockHand.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/jrummikub/model/MockHand.java b/test/jrummikub/model/MockHand.java index 0d0c523..2132ff4 100644 --- a/test/jrummikub/model/MockHand.java +++ b/test/jrummikub/model/MockHand.java @@ -9,7 +9,7 @@ import jrummikub.util.Pair; public class MockHand implements IHand { public List<Stone> stones = new ArrayList<Stone>(); - + public Iterable<Pair<Stone, Position>> iterable; @Override @@ -45,6 +45,10 @@ public class MockHand implements IHand { } public MockHand clone() { - return null; + try { + return (MockHand) super.clone(); + } catch (CloneNotSupportedException e) { + return null; + } } } |