fixed
This commit is contained in:
@@ -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.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user