summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control/turn/AIControlTest.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-20 06:41:15 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-20 06:41:15 +0200
commit0c3eb9a28363ae697f984d9413eb187bfe2511a9 (patch)
treee72cc28d72bd27c0dad9372d3b51274af9ffdeed /test/jrummikub/control/turn/AIControlTest.java
parent74d8205f30732a8afd6aa45f859188b0a3d447e5 (diff)
downloadJRummikub-0c3eb9a28363ae697f984d9413eb187bfe2511a9.tar
JRummikub-0c3eb9a28363ae697f984d9413eb187bfe2511a9.zip
Fixed a bunch of network synchronization bugs
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@510 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control/turn/AIControlTest.java')
-rw-r--r--test/jrummikub/control/turn/AIControlTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jrummikub/control/turn/AIControlTest.java b/test/jrummikub/control/turn/AIControlTest.java
index a8974ea..f58796e 100644
--- a/test/jrummikub/control/turn/AIControlTest.java
+++ b/test/jrummikub/control/turn/AIControlTest.java
@@ -16,7 +16,7 @@ import jrummikub.model.Stone;
import jrummikub.model.StoneColor;
import jrummikub.model.Table;
import jrummikub.util.IListener;
-import jrummikub.util.IListener1;
+import jrummikub.util.IListener3;
import jrummikub.view.MockView;
import org.junit.Before;
@@ -48,9 +48,9 @@ public class AIControlTest {
turnEnded = false;
redealt = false;
- aiControl.getEndOfTurnEvent().add(new IListener1<ITable>() {
+ aiControl.getEndOfTurnEvent().add(new IListener3<IHand, ITable, ITable>() {
@Override
- public void handle(ITable newTable) {
+ public void handle(IHand oldHand, ITable oldTable, ITable newTable) {
turnEnded = true;
}