summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-09 21:19:04 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-09 21:19:04 +0200
commit223f6d7e858021d9d08e8d074c06bf9804518ee4 (patch)
treedb51ba129a83789c6a384e3fb1740ea92bda6add /mock
parenta6a5388560692b59a20a82a4b22a231d6705d9d0 (diff)
downloadJRummikub-223f6d7e858021d9d08e8d074c06bf9804518ee4.tar
JRummikub-223f6d7e858021d9d08e8d074c06bf9804518ee4.zip
Testfall für rangeclick auf der Hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@196 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-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
-
+
}
}