class GeoWars::Keys

Defined in:

geo_wars/keys.cr

Constant Summary

ACCEPT = LibRay::KEY_ENTER
CANCEL = LibRay::KEY_BACKSPACE
TAB = 258
TILDE = 96

Class Method Summary

Class Method Detail

def self.down?(key : Int32) #

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

[View source]
def self.held?(frame_time, key : Int32, initial_timer, hold_timer) #

[View source]
def self.held?(frame_time, keys : Array(Int32), initial_timer, hold_timer) #

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

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

[View source]
def self.pressed_or_held?(frame_time, key : Int32, initial_timer, hold_timer) #

[View source]
def self.pressed_or_held?(frame_time, keys : Array(Int32), initial_timer, hold_timer) #

[View source]
def self.puts_pressed #

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

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

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

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

[View source]