From: Daniel H. <wik...@us...> - 2006-09-02 13:56:05
|
Update of /cvsroot/arianne/stendhal/data/script In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv32018/data/script Modified Files: debuggera.groovy Log Message: TurnNotifier has been moved and method signature has changed Index: debuggera.groovy =================================================================== RCS file: /cvsroot/arianne/stendhal/data/script/debuggera.groovy,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** debuggera.groovy 30 Aug 2006 21:15:55 -0000 1.10 --- debuggera.groovy 2 Sep 2006 13:55:56 -0000 1.11 *************** *** 6,9 **** --- 6,10 ---- import games.stendhal.server.* import games.stendhal.server.events.TurnListener; + import games.stendhal.server.events.TurnNotifier; import games.stendhal.server.entity.* import games.stendhal.server.entity.item.* *************** *** 175,182 **** counter = 0; player.sendPrivateText("Let's start"); ! TurnNotifier.get().notifyInTurns(10, this); } ! public void onTurnReached(int currentTurn) { try { String zoneName = zones.get(counter); --- 176,183 ---- counter = 0; player.sendPrivateText("Let's start"); ! TurnNotifier.get().notifyInTurns(10, this, null); } ! public void onTurnReached(int currentTurn, String message) { try { String zoneName = zones.get(counter); |