summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/view
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-05-04 23:14:10 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-05-04 23:14:10 +0200
commitdb7489a5c78551e4db52acd11656f2b872740f89 (patch)
tree59b89508489554b84f44fc208585b3e681dbfe52 /test/jrummikub/view
parentb0a90ad6f052037260c6304b537a9550a7422e30 (diff)
downloadJRummikub-db7489a5c78551e4db52acd11656f2b872740f89.tar
JRummikub-db7489a5c78551e4db52acd11656f2b872740f89.zip
New main
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@127 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/view')
-rw-r--r--test/jrummikub/view/MockTablePanel.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/jrummikub/view/MockTablePanel.java b/test/jrummikub/view/MockTablePanel.java
index 3fcc289..65842c2 100644
--- a/test/jrummikub/view/MockTablePanel.java
+++ b/test/jrummikub/view/MockTablePanel.java
@@ -9,20 +9,19 @@ import jrummikub.util.Event1;
import jrummikub.util.Event2;
import jrummikub.util.IEvent1;
import jrummikub.util.IEvent2;
+import jrummikub.util.Pair;
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 MockStoneCollectionPanel stoneCollectionPanel = new MockStoneCollectionPanel();
public String leftPlayerName;
public String topPlayerName;
public String rightPlayerName;
-
-
@Override
public IEvent2<Stone, Boolean> getStoneClickEvent() {
// TODO Auto-generated method stub
@@ -63,7 +62,7 @@ public class MockTablePanel implements ITablePanel {
}
@Override
- public void setStoneSets(Map<StoneSet, Position> stoneSets) {
+ public void setStoneSets(Iterable<Pair<StoneSet, Position>> stoneSets) {
// TODO Auto-generated method stub
}