summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockHandPanel.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/mock/jrummikub/view/MockHandPanel.java b/mock/jrummikub/view/MockHandPanel.java
index 7864240..6069019 100644
--- a/mock/jrummikub/view/MockHandPanel.java
+++ b/mock/jrummikub/view/MockHandPanel.java
@@ -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
-
+
}
}