Interface ZoneEnterExitListener
public interface ZoneEnterExitListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
onEntered
Invoked when an entity enters the object area.- Parameters:
object
- The object that entered.zone
- The new zone.
-
onExited
Invoked when an entity leaves the object area.- Parameters:
object
- The object that exited.zone
- The zone that was exited.
-