class

GSF::Animations

Inherits Reference < Object

Constructors

new(name : Symbol, animation : Animation, flip_horizontal = false, flip_vertical = false)
Source
new(name : Symbol)
Source

Instance methods

add(name : Symbol, animation : Animation, flip_horizontal = false, flip_vertical = false)
Source
animation
Source
animation_data
Source
done?(*args, **options)
Source
done?(*args, **options, &)
Source
draw(window, x, y, color : SF::Color | Nil = nil, rotation = 0)
Source
global_bounds(*args, **options)
Source
global_bounds(*args, **options, &)
Source
name
Source
pause(*args, **options)
Source
pause(*args, **options, &)
Source
pause_after_done

NOTE: is not working when looping is enabled, needs a fix for that

Source
play(name : Symbol)
Source
play(*args, **options)
Source
play(*args, **options, &)
Source
update(frame_time : Float32)
Source

Nested types