Files
CodenameEngine/source/funkin/backend/scripting/events/DirectionAnimEvent.hx
T
2024-04-12 02:36:46 +02:00

33 lines
751 B
Haxe

package funkin.backend.scripting.events;
final class DirectionAnimEvent extends CancellableEvent {
/**
Default animation that will be played
**/
public var animName:String;
/**
In which direction the animation will be played
**/
public var direction:Int;
/**
The suffix of the animation (ex: "-alt") - Defaults to ""
**/
public var suffix:String;
/**
Context of the animation. Is either equal to `SING` or `MISS`.
**/
public var context:PlayAnimContext;
/**
Whenever the animation will play reversed or not.
**/
public var reversed:Bool;
/**
At what frame the animation will start playing
**/
public var frame:Int;
/**
Force the animation to replay even if it's already playing.
**/
public var force:Bool = true;
}