class

Display

Inherits Reference < Object

Constructors

new(width : Int32 = 64, height : Int32 = 32, scale : Int32 = 10)
Source

Instance methods

add_sprite(x : UInt8, y : UInt8, sprite : Array(UInt8)) : UInt8
Source
clear
Source
draw
Source
gfx=(gfx : Slice(Slice(UInt8)))
Source
window
Source
window=(window : SDL::Window)
Source