Class: Ruby2D::Window::KeyEvent
- Inherits:
-
Struct
- Object
- Struct
- Ruby2D::Window::KeyEvent
- Defined in:
- lib/ruby2d/window.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
15 16 17 |
# File 'lib/ruby2d/window.rb', line 15 def key @key end |
#type ⇒ Object
Returns the value of attribute type
15 16 17 |
# File 'lib/ruby2d/window.rb', line 15 def type @type end |