Constructor

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.

Variables

sound:FlxSound

The sound to play when this event fires.

callback:() ‑> Void

The callback function to call when this even fires.

Methods

inlinedestroy():Void

Cleans up memory.

inlinefire():Void

Fires this event (calls the callback and plays the sound)