Package com.avrix.events
Class OnVehicleHornEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnVehicleHornEvent
Triggered when a character is using a vehicle horn.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoPlayer player, zombie.vehicles.BaseVehicle baseVehicle, Boolean pressed) Called Event Handling Method
-
Constructor Details
-
OnVehicleHornEvent
public OnVehicleHornEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoPlayer player, zombie.vehicles.BaseVehicle baseVehicle, Boolean pressed) Called Event Handling Method- Parameters:
player
- The player who's driving the vehicle.baseVehicle
- The vehicle that the player is driving.pressed
- Whether the vehicle horn is being pressed.
-