Show initial hand succeeds
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@136 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
0318d8cee2
commit
bc827302d0
3 changed files with 31 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue