summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/view
diff options
context:
space:
mode:
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