Package com.avrix.events
Class OnAmbientSoundEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnAmbientSoundEvent
Triggered when an ambient sound starts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(String name, Float x, Float y) Called Event Handling Method
-
Constructor Details
-
OnAmbientSoundEvent
public OnAmbientSoundEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
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.
-