abstract class Controller

Direct Known Subclasses

Defined in:

crab/common/frontend/controller.cr

Instance Method Summary

Instance Method Detail

abstract def emu : Emu #

[View source]
def get_framebuffer : Slice(UInt16) #

[View source]
def handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil #

[View source]
def handle_input(input : Input, pressed : Bool) : Nil #

[View source]
abstract def height : Int32 #

[View source]
def render_debug_items : Nil #

[View source]
def render_menu : Nil #

[View source]
def render_windows : Nil #

[View source]
def run_until_frame : Nil #

[View source]
abstract def sync? : Bool #

[View source]
def toggle_sync : Nil #

[View source]
abstract def width : Int32 #

[View source]
def window_height : Int32 #

[View source]
def window_width : Int32 #

[View source]