diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-10 01:39:32 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-10 01:39:32 +0200 |
commit | ce982fcdaf1a15981419e7a88802bc225795e6a4 (patch) | |
tree | c473605663a262ab507cb9f02cc62f304df02266 /mock/jrummikub/view | |
parent | 56b75e037ab2061d1f7462d2f71a83ca5a9353b6 (diff) | |
download | JRummikub-ce982fcdaf1a15981419e7a88802bc225795e6a4.tar JRummikub-ce982fcdaf1a15981419e7a88802bc225795e6a4.zip |
Tests for dropping on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@206 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r-- | mock/jrummikub/view/MockHandPanel.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mock/jrummikub/view/MockHandPanel.java b/mock/jrummikub/view/MockHandPanel.java index 6069019..cb97ef7 100644 --- a/mock/jrummikub/view/MockHandPanel.java +++ b/mock/jrummikub/view/MockHandPanel.java @@ -5,6 +5,7 @@ import java.util.List; import jrummikub.model.Position; import jrummikub.model.Stone; +import jrummikub.util.Event1; import jrummikub.util.Event2; import jrummikub.util.IEvent1; import jrummikub.util.IEvent2; @@ -14,6 +15,7 @@ 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>(); + public Event1<Position> clickEvent = new Event1<Position>(); @Override public IEvent2<Stone, Boolean> getStoneClickEvent() { @@ -33,8 +35,7 @@ public class MockHandPanel implements IHandPanel { @Override public IEvent1<Position> getClickEvent() { - // TODO Auto-generated method stub - return null; + return clickEvent; } @Override |