Uses of Interface
games.stendhal.server.util.Observer
Package
Description
Entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
-
Uses of Observer in games.stendhal.server.core.pathfinder
Modifier and TypeClassDescriptionclass
class for guide NPC to certain point in his zoneclass
class for NPC's multi-zones travelingclass
class for creating complete route of npc across his world's path, with notifications at keypoints and road's end.ModifierConstructorDescriptionGoToPosition(GuidedEntity entity, Node position, Observer o)
ConstructorMultiZonesFixedPath(GuidedEntity entity, List<RPZonePath> rt, Observer o)
constructorMultiZonesFixedPathsList(SpeakerNPC npc, List<List<RPZonePath>> pathes, Observer middle, Observer end)
constructor -
Uses of Observer in games.stendhal.server.entity
Modifier and TypeMethodDescriptionvoid
Registrator.removeObserver(Observer observer)
remove observer from observers list.void
Registrator.setObserver(Observer observer)
registers observer for notifying -
Uses of Observer in games.stendhal.server.entity.creature
Modifier and TypeMethodDescriptionvoid
Creature.registerObjectsForNotification(Observer observer)
sets new observervoid
Creature.unregisterObjectsForNotification(Observer observer)
unset observerModifier and TypeMethodDescriptionvoid
Creature.registerObjectsForNotification(List<Observer> observers)
sets new observervoid
Creature.unregisterObjectsForNotification(List<Observer> observers)
unset observer -
Uses of Observer in games.stendhal.server.entity.mapstuff.spawner
Modifier and TypeMethodDescriptionvoid
CreatureRespawnPoint.addObserver(Observer observer)
add observer to observers listvoid
CreatureRespawnPoint.removeObserver(Observer observer)
remove observer from listModifierConstructorDescriptionCreatureRespawnPoint(StendhalRPZone zone, int x, int y, Creature creature, int maximum, Observer observer)
Creates a new RespawnPoint. -
Uses of Observer in games.stendhal.server.entity.npc.interaction
Modifier and TypeClassDescriptionclass
chatting between 2 NPCsclass
class for make one npc follower of other.ModifierConstructorDescriptionNPCChatting(SpeakerNPC first, SpeakerNPC second, List<String> conversations, String explainations, Observer n)
constructorNPCFollowing(SpeakerNPC leader, SpeakerNPC follower, Observer finish)
constructor -
Uses of Observer in games.stendhal.server.maps.quests.piedpiper
Modifier and TypeClassDescriptionclass
helper class for normal switching phase to next phase, wrapper of observer around a function. -
Uses of Observer in games.stendhal.server.util
Modifier and TypeMethodDescriptionvoid
Observable.addObserver(Observer o)
void
Observable.deleteObserver(Observer o)