Class OnToggleSearchModeEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnToggleSearchModeEvent

public abstract class OnToggleSearchModeEvent extends Event
Triggered when search mode is being toggled.
  • Constructor Details

    • OnToggleSearchModeEvent

      public OnToggleSearchModeEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoPlayer player, Boolean isSearchMode)
      Called Event Handling Method
      Parameters:
      player - The player who's toggling search mode.
      isSearchMode - Whether search mode is being enabled or disabled.