module Game::Keys

Defined in:

game/keys.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.all_down?(keys : Array(Key)) #

[View source]
def self.all_pressed?(keys : Array(Key)) #

[View source]
def self.all_released?(keys : Array(Key)) #

[View source]
def self.all_up?(keys : Array(Key)) #

[View source]
def self.any_pressed? #

[View source]
def self.down?(key : Key) #

[View source]
def self.down?(keys : Array(Key)) #

[View source]
def self.exit_key(key : Key) #

[View source]
def self.get_pressed : Array(Key) #

[View source]
def self.pressed?(key : Key) #

[View source]
def self.pressed?(keys : Array(Key)) #

[View source]
def self.released?(key : Key) #

[View source]
def self.released?(keys : Array(Key)) #

[View source]
def self.up?(key : Key) #

[View source]
def self.up?(keys : Array(Key)) #

[View source]

Instance Method Detail

def all_down?(keys : Array(Key)) #

[View source]
def all_pressed?(keys : Array(Key)) #

[View source]
def all_released?(keys : Array(Key)) #

[View source]
def all_up?(keys : Array(Key)) #

[View source]
def any_pressed? #

[View source]
def down?(key : Key) #

[View source]
def down?(keys : Array(Key)) #

[View source]
def exit_key(key : Key) #

[View source]
def get_pressed : Array(Key) #

[View source]
def pressed?(key : Key) #

[View source]
def pressed?(keys : Array(Key)) #

[View source]
def released?(key : Key) #

[View source]
def released?(keys : Array(Key)) #

[View source]
def up?(key : Key) #

[View source]
def up?(keys : Array(Key)) #

[View source]