Class: Ruby2D::Window::MouseEvent
- Inherits:
-
Struct
- Object
- Struct
- Ruby2D::Window::MouseEvent
- Defined in:
- lib/ruby2d/window.rb
Instance Attribute Summary collapse
-
#button ⇒ Object
Returns the value of attribute button.
-
#delta_x ⇒ Object
Returns the value of attribute delta_x.
-
#delta_y ⇒ Object
Returns the value of attribute delta_y.
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#type ⇒ Object
Returns the value of attribute type.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#button ⇒ Object
Returns the value of attribute button
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def @button end |
#delta_x ⇒ Object
Returns the value of attribute delta_x
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def delta_x @delta_x end |
#delta_y ⇒ Object
Returns the value of attribute delta_y
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def delta_y @delta_y end |
#direction ⇒ Object
Returns the value of attribute direction
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def direction @direction end |
#type ⇒ Object
Returns the value of attribute type
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def type @type end |
#x ⇒ Object
Returns the value of attribute x
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def x @x end |
#y ⇒ Object
Returns the value of attribute y
14 15 16 |
# File 'lib/ruby2d/window.rb', line 14 def y @y end |