"forced" anim attribute finally working
big changes here maybe
This commit is contained in:
@@ -100,9 +100,9 @@ final class NoteHitEvent extends CancellableEvent {
|
||||
*/
|
||||
public var ratingAntialiasing:Bool = true;
|
||||
/**
|
||||
* Whenever the animation should be forced to play.
|
||||
* Whenever the animation should be forced to play (if it's null it will be forced based on the sprite's data xml, if it has one).
|
||||
*/
|
||||
public var forceAnim:Bool = true;
|
||||
public var forceAnim:Null<Bool> = true;
|
||||
|
||||
/**
|
||||
* Prevents the default sing animation from being played.
|
||||
|
||||
@@ -29,9 +29,9 @@ final class NoteMissEvent extends CancellableEvent {
|
||||
public var gfSadAnim:String;
|
||||
public var forceGfAnim:Bool;
|
||||
/**
|
||||
* Whenever the animation should be forced to play.
|
||||
* Whenever the animation should be forced to play (if it's null it will be forced based on the sprite's data xml, if it has one).
|
||||
*/
|
||||
public var forceAnim:Bool;
|
||||
public var forceAnim:Null<Bool>;
|
||||
/**
|
||||
* Suffix of the animation. "miss" for miss notes, "-alt" for alt notes, "" for normal ones.
|
||||
*/
|
||||
|
||||
@@ -7,9 +7,9 @@ final class PlayAnimEvent extends CancellableEvent {
|
||||
public var animName:String;
|
||||
|
||||
/**
|
||||
Whenever the animation will be forced or not.
|
||||
Whenever the animation will be forced or not (if it's null it will be forced based on the sprite's data xml, if it has one).
|
||||
**/
|
||||
public var force:Bool;
|
||||
public var force:Null<Bool>;
|
||||
|
||||
/**
|
||||
Whenever the animation will play in reverse or not
|
||||
|
||||
Reference in New Issue
Block a user