new(?Callback:() ‑> Void, ?sound:FlxSound)
Parameters:
Callback
The callback function to call when this even fires.
sound
The sound to play when this event fires.
sound:FlxSound
callback:() ‑> Void
inlinedestroy():Void
Cleans up memory.
inlinefire():Void
Fires this event (calls the callback and plays the sound)