summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/view
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-04 21:47:35 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-04 21:47:35 +0200
commit88766c6df209637ddb3e97a38e8a1aa45a8bd515 (patch)
tree111535a302e4990090333569493663fb81a5c441 /test/jrummikub/view
parentfe019e5eae8d8e740d7620044727988c6d28a423 (diff)
downloadJRummikub-88766c6df209637ddb3e97a38e8a1aa45a8bd515.tar
JRummikub-88766c6df209637ddb3e97a38e8a1aa45a8bd515.zip
Selecting/collecting on table (without range)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@124 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/view')
-rw-r--r--test/jrummikub/view/MockTablePanel.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/jrummikub/view/MockTablePanel.java b/test/jrummikub/view/MockTablePanel.java
index 58ca9c6..83b3de4 100644
--- a/test/jrummikub/view/MockTablePanel.java
+++ b/test/jrummikub/view/MockTablePanel.java
@@ -6,16 +6,22 @@ import jrummikub.model.Position;
import jrummikub.model.Stone;
import jrummikub.model.StoneSet;
import jrummikub.util.Event1;
+import jrummikub.util.Event2;
import jrummikub.util.IEvent1;
import jrummikub.util.IEvent2;
public class MockTablePanel implements ITablePanel {
+ public Event2<Stone, Boolean> stoneClickEvent = new Event2<Stone, Boolean>();
+ public Event2<Stone, Boolean> setClickEvent = new Event2<Stone, Boolean>();
+
public MockStoneCollectionPanel stoneCollectionPanel = new MockStoneCollectionPanel();
public String leftPlayerName;
public String topPlayerName;
public String rightPlayerName;
+
+
@Override
public IEvent2<Stone, Boolean> getStoneClickEvent() {
// TODO Auto-generated method stub