This commit is contained in:
Yoshman29
2022-11-05 21:43:00 +01:00
parent bfd3043a1f
commit 2a39887f16
8 changed files with 15 additions and 11 deletions
@@ -26,12 +26,13 @@ class PlayAnimEvent extends CancellableEvent {
**/
public var context:PlayAnimContext;
public function new(animName:String, force:Bool, reverse:Bool, startingFrame:Int) {
public function new(animName:String, force:Bool, reverse:Bool, startingFrame:Int, context:PlayAnimContext) {
super();
this.animName = animName;
this.force = force;
this.reverse = reverse;
this.startingFrame = startingFrame;
this.context = context;
}
}
@@ -50,6 +51,11 @@ abstract PlayAnimContext(String) {
**/
var SING = "SING";
/**
Whenever a dance animation is played.
**/
var DANCE = "DANCE";
/**
Whenever a note is missed and a miss animation will be played.
**/