PointClickEngine::Characters::AnimationData
Inherits YAML::Serializable < Struct < Value < Object
Contains animation configuration data for character sprites
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(start_frame : Int32 = 0, frame_count : Int32 = 1, frame_speed : Float32 = 0.1, loop : Bool = true, priority : Int32 = 0, interruptible : Bool = true, auto_return_to_idle : Bool = true, sound_effect : String | Nil = nil)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
auto_return_to_idle=(auto_return_to_idle : Bool)
Whether to automatically return to idle when animation completes
interruptible=(interruptible : Bool)
Whether this animation can be interrupted by lower priority animations
priority=(priority : Int32)
Priority for animation interruption (higher = harder to interrupt)
sound_effect=(sound_effect : String | Nil)
Optional sound effect to play when animation starts