Class MultiZonesFixedPathsList
java.lang.Object
games.stendhal.server.core.pathfinder.MultiZonesFixedPathsList
- All Implemented Interfaces:
Observer
class for creating complete route of npc
across his world's path, with notifications at keypoints and road's end.
-
Constructor Summary
ConstructorsConstructorDescriptionMultiZonesFixedPathsList(SpeakerNPC npc, List<List<RPZonePath>> pathes, Observer middle, Observer end) constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(Observable arg0, Object arg1) a kind of iterator over list
-
Constructor Details
-
MultiZonesFixedPathsList
public MultiZonesFixedPathsList(SpeakerNPC npc, List<List<RPZonePath>> pathes, Observer middle, Observer end) constructor- Parameters:
npc- - npc to gopathes- - list of all routes of npc across the worldmiddle- - observer for notifying about each route's over.end- - observer for notifying about road's end.
-
-
Method Details