Class OnSwitchVehicleSeatEvent

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

public abstract class OnSwitchVehicleSeatEvent extends Event
Triggered when a character is switching seat in a vehicle.
  • Constructor Details

    • OnSwitchVehicleSeatEvent

      public OnSwitchVehicleSeatEvent()
  • 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)
      Called Event Handling Method
      Parameters:
      player - The player who's switching seat in the vehicle.