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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureZone(StendhalRPZone zone, Map<String,String> attributes)
Configure a zone.void
onEntered(RPObject object, StendhalRPZone zone)
Invoked when an entity enters the object area.void
onExited(RPObject object, StendhalRPZone zone)
Invoked when an entity leaves the object area.
-
Constructor Details
-
HellTimer
public HellTimer()
-
-
Method Details
-
configureZone
Description copied from interface:ZoneConfigurator
Configure a zone.- Specified by:
configureZone
in interfaceZoneConfigurator
- Parameters:
zone
- The zone to be configured.attributes
- Configuration attributes.
-
onEntered
Description copied from interface:ZoneEnterExitListener
Invoked when an entity enters the object area.- Specified by:
onEntered
in interfaceZoneEnterExitListener
- Parameters:
object
- The object that entered.zone
- The new zone.
-
onExited
Description copied from interface:ZoneEnterExitListener
Invoked when an entity leaves the object area.- Specified by:
onExited
in interfaceZoneEnterExitListener
- Parameters:
object
- The object that exited.zone
- The zone that was exited.
-