Module: Input

Defined in:
lib/input.rb

Constant Summary

LEFT =
:LEFT
UP =
:UP
RIGHT =
:RIGHT
DOWN =
:DOWN
A =
:A
B =
:B
C =
:C
X =
:X
Y =
:Y
Z =
:Z
L =
:L
R =
:R
SHIFT =
:SHIFT
CTRL =
:CTRL
ALT =
:ALT
F5 =
:F5
F6 =
:F6
F7 =
:F7
F8 =
:F8
F9 =
:F9

Class Method Summary (collapse)

Class Method Details

+ (Object) dir4



61
62
63
# File 'lib/input.rb', line 61

def dir4
  fail NotImplementedError
end

+ (Object) dir8



65
66
67
# File 'lib/input.rb', line 65

def dir8
  fail NotImplementedError
end

+ (Boolean) press?(sym)

Returns:

  • (Boolean)


49
50
51
# File 'lib/input.rb', line 49

def press?(sym)
  fail NotImplementedError
end

+ (Boolean) repeat?(sym)

Returns:

  • (Boolean)


57
58
59
# File 'lib/input.rb', line 57

def repeat?(sym)
  fail NotImplementedError
end

+ (Boolean) trigger?(sym)

Returns:

  • (Boolean)


53
54
55
# File 'lib/input.rb', line 53

def trigger?(sym)
  fail NotImplementedError
end

+ (Object) update



45
46
47
# File 'lib/input.rb', line 45

def update
  fail NotImplementedError
end