A SubState that creates a swirl effect then closes

Constructor

@:value({ color : 0xff000000 })new (on_complete:Void ‑> Void, color:Int = 0xff000000)

Creates a new substate that creates a swirl effect and closes

 *  @param on_complete	function to call when fade is complete (FlxG.switchState() is a good choice :P)
 *  @param color		a color to show in place of black

Inherited Variables

Inherited Methods