Class: Ruby2D::Window::ControllerButtonEvent

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

Instance Attribute Summary collapse

Instance Attribute Details

#buttonObject

Returns the value of attribute button

Returns:

  • (Object)

    the current value of button



18
19
20
# File 'lib/ruby2d/window.rb', line 18

def button
  @button
end

#whichObject

Returns the value of attribute which

Returns:

  • (Object)

    the current value of which



18
19
20
# File 'lib/ruby2d/window.rb', line 18

def which
  @which
end