class Chip8::Display
- Chip8::Display
- Reference
- Object
Included Modules
Defined in:
devices/display.crConstant Summary
-
BACKGROUND_COLOR =
SF.color(64, 62, 68) -
BUFFER_SIZE =
64 * 32 -
HEIGHT =
32 -
PRIMRY_COLOR =
SF.color(255, 231, 177) -
SCALE =
30 -
WIDTH =
64
Constructors
Instance Method Summary
- #clear : Nil
- #draw
- #set_pixel(x : UInt32, y : UInt32, value : Bool) : Bool
- #window : SF::RenderWindow
- #window=(window : SF::RenderWindow)