Dungeon::Animation
Inherits Reference < Object
Constants
TINT_DEFAULT = LibRay::WHITE
Constructors
new(sprite : Sprite, row : Int32 = 0, frame_initial : Int32 = 0, fps : Int32 = 24, tint : LibRay::Color = TINT_DEFAULT, loop_infinitely : Bool = true)
Instance methods
done?
draw(x, y)
fps
fps=(fps : Int32)
frame
frame=(frame)
frames
height
loop_infinitely=(loop_infinitely : Bool)
loop_infinitely?
restart
rotation
rotation=(rotation : Float32)
row
row=(row : Int32)
sprite
tint
tint=(tint : LibRay::Color)
update(delta_t : Float32)
width