class KeyMapper

Defined in:

key_mapper.cr

Constant Summary

MOVEMENTS = [KeyCommands::Up, KeyCommands::Down, KeyCommands::Left, KeyCommands::Right]

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def command #

[View source]
def control? #

[View source]
def io : IO #

[View source]
def io=(io : IO) #

[View source]
def movement? #

[View source]
def read_char : Char | Nil #

[View source]
def read_char=(read_char : Char | Nil) #

[View source]