class Works::Animation
- Works::Animation
- Reference
- Object
Defined in:
works/animation.crConstructors
Instance Method Summary
- #add(sheet : LibAllegro::Bitmap, x, y, width, height)
- #center? : Bool
- #destroy
- #display_frame
- #done?
- #draw(x, y, flip_horizontal = false, flip_vertical = false)
- #draw_rotated(x, y, angle = 0.0, flip_horizontal = false, flip_vertical = false)
- #fps_factor : Int32
- #frame : Int32
- #height : Int32
- #loops? : Bool
- #pause
- #paused? : Bool
- #restart
- #sprites : Array(LibAllegro::Bitmap)
- #total_frames
- #update
- #width : Int32