class Input

Defined in:

input.cr

Instance Method Summary

Instance Method Detail

def attack_held? #

[View source]
def buffers : Hash(Input::Button, Int32) #

def buffers=(buffers : Hash(Input::Button, Int32)) #

def clean #

[View source]
def clear_buffers #

[View source]
def clear_holds #

[View source]
def consume_attack #

[View source]
def consume_dash #

[View source]
def consume_down #

[View source]
def consume_free #

[View source]
def consume_jump #

[View source]
def consume_left #

[View source]
def consume_right #

[View source]
def consume_step #

[View source]
def consume_up #

[View source]
def dash_held? #

[View source]
def decrement #

[View source]
def down_held? #

[View source]
def free_held? #

[View source]
def handlers : Hash(SF::Keyboard::Key, Input::Button) #

[View source]
def handlers=(handlers : Hash(SF::Keyboard::Key, Input::Button)) #

[View source]
def held : Hash(Input::Button, Bool) #

def held=(held : Hash(Input::Button, Bool)) #

def jump_held? #

[View source]
def left_held? #

[View source]
def load_config(config) #

[View source]
def right_held? #

[View source]
def step_held? #

[View source]
def up_held? #

[View source]
def update #

[View source]