PHP Interface GameBoy\Canvas\DrawContextInterface

Datei anzeigen Open project: gabrielrcouto/php-terminal-gameboy-emulator

Public Methods

Method Description
draw ( array $canvasBuffer ) Draw image on canvas.

Method Details

draw() public method

Draw image on canvas.
public draw ( array $canvasBuffer )
$canvasBuffer array If colored, each pixel => 4 items on array (RGBA)