Testfall für rangeclick auf der Hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@196 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
a6a5388560
commit
223f6d7e85
2 changed files with 136 additions and 31 deletions
|
@ -13,6 +13,7 @@ import jrummikub.util.Pair;
|
|||
public class MockHandPanel implements IHandPanel {
|
||||
public Event2<Stone, Boolean> stoneClickEvent = new Event2<Stone, Boolean>();
|
||||
public List<Pair<Stone, Position>> stones;
|
||||
public Event2<Stone, Boolean> rangeClickEvent = new Event2<Stone, Boolean>();
|
||||
|
||||
@Override
|
||||
public IEvent2<Stone, Boolean> getStoneClickEvent() {
|
||||
|
@ -21,8 +22,7 @@ public class MockHandPanel implements IHandPanel {
|
|||
|
||||
@Override
|
||||
public IEvent2<Stone, Boolean> getRangeClickEvent() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return rangeClickEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -49,13 +49,13 @@ public class MockHandPanel implements IHandPanel {
|
|||
@Override
|
||||
public void setHandWidth(int width) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHandHeight(int height) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue