class Crono::Renderer
- Crono::Renderer
- Reference
- Object
Defined in:
crono/renderer.crConstructors
Instance Method Summary
-
#animate(image_sprites, location : Tuple(Int32, Int32))
Draws an image for the current animation
- #animation_counter : UInt16
- #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 : SDL::Renderer
Constructor Detail
Instance Method Detail
def animate(image_sprites, location : Tuple(Int32, Int32))
#
Draws an image for the current animation