This commit is contained in:
Yoshman29
2022-10-18 13:45:21 +02:00
parent 4ba8ce198a
commit f31815ab10
3 changed files with 12 additions and 24 deletions
@@ -1,6 +1,8 @@
package funkin.scripting.events;
import flixel.tweens.FlxTween;
import flixel.FlxSprite;
import flixel.system.FlxSound;
class CountdownEvent extends CancellableEvent {
/**
@@ -33,14 +35,14 @@ class CountdownEvent extends CancellableEvent {
* Created sprite, only available in `onCountdownPost`
*/
public var sprite:FlxSprite;
/**
* Created tween for the sprite, only available in `onCountdownPost`
*/
public var spriteTween:FlxTween;
/**
* Created sound, only available in `onCountdownPost`
*/
public var sound:FlxSound;
/**
* Created tween, only available in `onCountdownPost`
*/
public var tween:FlxTween;
public function new(spritePath:String, soundPath:String, scale:Float = 1, volume:Float = 1, antialiasing:Bool = true) {
super();