diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-08 18:57:11 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-08 18:57:11 +0200 |
commit | 86c6bfbd30e195a5837687f1f73db1baa33e0ac4 (patch) | |
tree | be69f1852b3671386cd99a629999d544a028b2aa | |
parent | 8c45100b9985990685ca60e545fb86e2bd7c2b7c (diff) | |
download | JRummikub-86c6bfbd30e195a5837687f1f73db1baa33e0ac4.tar JRummikub-86c6bfbd30e195a5837687f1f73db1baa33e0ac4.zip |
Add clickEvent to MockTablePanel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@173 72836036-5685-4462-b002-a69064685172
-rw-r--r-- | mock/jrummikub/view/MockTablePanel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mock/jrummikub/view/MockTablePanel.java b/mock/jrummikub/view/MockTablePanel.java index 0d8ccae..792b2e7 100644 --- a/mock/jrummikub/view/MockTablePanel.java +++ b/mock/jrummikub/view/MockTablePanel.java @@ -14,6 +14,7 @@ public class MockTablePanel implements ITablePanel { public Event2<Stone, Boolean> stoneClickEvent = new Event2<Stone, Boolean>(); public Event2<Stone, Boolean> setClickEvent = new Event2<Stone, Boolean>(); public Event2<Stone, Boolean> rangeClickEvent = new Event2<Stone, Boolean>(); + public Event1<Position> clickEvent = new Event1<Position>(); public Event1<StoneSet> leftConnectorClickEvent = new Event1<StoneSet>(); public Event1<StoneSet> rightConnectorClickEvent = new Event1<StoneSet>(); @@ -41,8 +42,7 @@ public class MockTablePanel implements ITablePanel { @Override public IEvent1<Position> getClickEvent() { - // TODO Auto-generated method stub - return null; + return clickEvent; } @Override |