Class: Ruby2D::Window::ControllerEvent

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

Instance Attribute Summary collapse

Instance Attribute Details

#axisObject

Returns the value of attribute axis

Returns:

  • (Object)

    the current value of axis



16
17
18
# File 'lib/ruby2d/window.rb', line 16

def axis
  @axis
end

#buttonObject

Returns the value of attribute button

Returns:

  • (Object)

    the current value of button



16
17
18
# File 'lib/ruby2d/window.rb', line 16

def button
  @button
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



16
17
18
# File 'lib/ruby2d/window.rb', line 16

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



16
17
18
# File 'lib/ruby2d/window.rb', line 16

def value
  @value
end

#whichObject

Returns the value of attribute which

Returns:

  • (Object)

    the current value of which



16
17
18
# File 'lib/ruby2d/window.rb', line 16

def which
  @which
end