From: Astrid S. <ast...@us...> - 2008-08-24 21:45:41
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/spawner In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv15475/src/games/stendhal/server/entity/mapstuff/spawner Modified Files: FlowerGrower.java Log Message: initial commit for event driven client handling. stendhalPerceptionclient for now triggers a perception dispatcher, to which listeners are added for each base object who themselves dispatch the changes for properties Index: FlowerGrower.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/spawner/FlowerGrower.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** FlowerGrower.java 13 Aug 2008 12:04:35 -0000 1.11 --- FlowerGrower.java 24 Aug 2008 21:45:49 -0000 1.12 *************** *** 5,8 **** --- 5,9 ---- import games.stendhal.common.filter.FilterCriteria; import games.stendhal.server.core.engine.StendhalRPZone; + import games.stendhal.server.core.events.TurnNotifier; import games.stendhal.server.entity.Entity; import games.stendhal.server.entity.item.Item; *************** *** 140,143 **** --- 141,145 ---- if (getZone() != null) { getZone().remove(this); + notifyWorldAboutChanges(); } |