class Tchipi8::IO::SDLController
- Tchipi8::IO::SDLController
- Reference
- Object
Included Modules
Defined in:
io.crConstant Summary
-
SDL_DISPLAY_HEIGHT =
SDL_DISPLAY_WIDTH / 2
-
SDL_DISPLAY_WIDTH =
640
-
SPRITE_HEIGHT =
SDL_DISPLAY_HEIGHT / CHIP8_DISPLAY_HEIGHT
-
SPRITE_WIDTH =
SDL_DISPLAY_WIDTH / CHIP8_DISPLAY_WIDTH
Constructors
Instance Method Summary
- #clear_pixels : Nil
- #destroy : Nil
- #flush_pixels : Nil
- #read_key : Key | Nil
- #set_pixel(x : Int, y : Int, state : PixelState) : Nil
- #sync : Nil