PointClickEngine::Graphics::Sprites::AnimationDef
Inherits Reference < Object
Animation definition for data-driven animations
Constructors
from_range(name : String, start_frame : Int32, end_frame : Int32, frame_duration : Float32, loop : Bool = true) : AnimationDef
Create from frame range
new(name : String, frames : Array(Int32), frame_duration : Float32, loop : Bool = true)
SourceInstance methods
frame_duration
Sourceframe_duration=(frame_duration : Float32)
Sourceframes
Sourceframes=(frames : Array(Int32))
Sourceloop
Sourceloop=(loop : Bool)
Sourcename
Sourcename=(name : String)
Source