Interface ZoneEnterExitListener

All Known Implementing Classes:
Block, HellTimer

public interface ZoneEnterExitListener
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • onEntered

      void onEntered(RPObject object, StendhalRPZone zone)
      Invoked when an entity enters the object area.
      Parameters:
      object - The object that entered.
      zone - The new zone.
    • onExited

      void onExited(RPObject object, StendhalRPZone zone)
      Invoked when an entity leaves the object area.
      Parameters:
      object - The object that exited.
      zone - The zone that was exited.