class StubbedController
- StubbedController
- Controller
- Reference
- Object
Defined in:
crab/common/frontend/controllers/stubbed_controller.crConstructors
Class Method Summary
Instance Method Summary
- #emu : Emu
- #get_framebuffer : Slice(UInt16)
- #handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
- #handle_input(input : Input, pressed : Bool) : Nil
- #height : Int32
- #run_until_frame : Nil
- #sync? : Bool
- #toggle_sync : Nil
- #width : Int32
- #window_height : Int32
- #window_width : Int32
Instance methods inherited from class Controller
emu : Emu
emu,
get_framebuffer : Slice(UInt16)
get_framebuffer,
handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
handle_controller_event,
handle_input(input : Input, pressed : Bool) : Nil
handle_input,
height : Int32
height,
render_debug_items : Nil
render_debug_items,
render_menu : Nil
render_menu,
render_windows : Nil
render_windows,
run_until_frame : Nil
run_until_frame,
sync? : Bool
sync?,
toggle_sync : Nil
toggle_sync,
width : Int32
width,
window_height : Int32
window_height,
window_width : Int32
window_width
Constructor Detail
Class Method Detail
Instance Method Detail
def handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
#