class

Crono::Renderer

Inherits Reference / Object

Constructors

new(window : SDL::Window)

Instance methods

animate(image_sprites, location : Tuple(Int32, Int32))

Draws an image for the current animation

animation_counter
animation_counter=(animation_counter : UInt16)
clear(*args, **options)
clear(*args, **options, &)
color
color=(color)
draw(image : Image, location : Tuple(Int32, Int32), angle = 0)

Draws an image

draw(font : Font, location : Tuple(Int32, Int32))

Draws some text

sdl