Class OnAmbientSoundEvent

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

public abstract class OnAmbientSoundEvent extends Event
Triggered when an ambient sound starts.
  • Constructor Details

    • OnAmbientSoundEvent

      public OnAmbientSoundEvent()
  • 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(String name, Float x, Float y)
      Called Event Handling Method
      Parameters:
      name - The name of the ambient sound.
      x - The x coordinate of the ambient sound.
      y - The y coordinate of the ambient sound.