Class HellTimer
java.lang.Object
games.stendhal.server.maps.nalwor.hell.HellTimer
- All Implemented Interfaces:
ZoneConfigurator,ZoneEnterExitListener
Handles moving the player from hell to the pit, at irrwegular intervals.
The slot has form "last_kickout_time;status", where the kickout time is used
to decide if the player should be kicked sooner than normally. The status
indicates if the player has been noticed, and can be used to kick the player
out immediately.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureZone(StendhalRPZone zone, Map<String, String> attributes) Configure a zone.voidonEntered(RPObject object, StendhalRPZone zone) Invoked when an entity enters the object area.voidonExited(RPObject object, StendhalRPZone zone) Invoked when an entity leaves the object area.
-
Constructor Details
-
HellTimer
public HellTimer()
-
-
Method Details
-
configureZone
Description copied from interface:ZoneConfiguratorConfigure a zone.- Specified by:
configureZonein interfaceZoneConfigurator- Parameters:
zone- The zone to be configured.attributes- Configuration attributes.
-
onEntered
Description copied from interface:ZoneEnterExitListenerInvoked when an entity enters the object area.- Specified by:
onEnteredin interfaceZoneEnterExitListener- Parameters:
object- The object that entered.zone- The new zone.
-
onExited
Description copied from interface:ZoneEnterExitListenerInvoked when an entity leaves the object area.- Specified by:
onExitedin interfaceZoneEnterExitListener- Parameters:
object- The object that exited.zone- The zone that was exited.
-