Single Animation Frame. Can be reused multiple times in Animation.
Constructor
new (tile:Null<Tile>, duration:Float, isKey:Bool = true)
Create a new Animation Frame with specified tile (or null), duration and keyframe flag.
Variables
alpha:Float
Alpha value for this frame. Shortcut to color.a
, and will create it as [1, 1, 1, alpha] if it's null.
eventExit:String
Specifies event, triggered when this frame is deactivated. If animation is paused during exit trigger, this frame will remain active.
isKey:Bool
Is this frame a keyframe? (default: true) Keyframes are not skipped when Animation accumulated more than one frame between updates.