Class: Ruby2D::Window::KeyEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby2d/window.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key



10
11
12
# File 'lib/ruby2d/window.rb', line 10

def key
  @key
end

#typeObject

Returns the value of attribute type



10
11
12
# File 'lib/ruby2d/window.rb', line 10

def type
  @type
end