View source
final class CountdownEvent
package funkin.backend.scripting.events
extends CancellableEvent
Constructor
Variables
swagCounter:Int
At which count the countdown is. Normally goes 0-1-2-3-4 unless PlayState.instance.introLength
is changed.
Methods
View in GitHub
recycle(swagCounter:Int, volume:Float, soundPath:String, spritePath:String, scale:Float, antialiasing:Bool, sprite:FlxSprite, spriteTween:FlxTween, sound:FlxSound):CountdownEvent
Inherited Variables
Defined by CancellableEvent
Inherited Methods
Defined by CancellableEvent
View in GitHub
preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c | Whenever the scripts following this one should be called or not. (Defaults to |
---|
View in GitHub
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String