class Renderer

Defined in:

nes/renderer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def get_points : Array(SF::Vertex) #

[View source]
def render(data : RenderingData) : Array(SF::Vertex) #

[View source]
def render_background(background : Array(Tile) | Nil, palette : PaletteRam) #

[View source]
def render_image(data : Array(Byte)) #

[View source]
def render_tile(tile : Tile, tile_x : UInt16, tile_y : UInt16, palette : PaletteRam) #

[View source]