Class: Gosu::Touch
- Inherits:
-
Struct
- Object
- Struct
- Gosu::Touch
- Defined in:
- lib/gosu_android/input/input.rb
Overview
Struct that saves information about a touch on the surface of a multi- touch device.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
33 34 35 |
# File 'lib/gosu_android/input/input.rb', line 33 def id @id end |
#x ⇒ Object
Returns the value of attribute x
33 34 35 |
# File 'lib/gosu_android/input/input.rb', line 33 def x @x end |
#y ⇒ Object
Returns the value of attribute y
33 34 35 |
# File 'lib/gosu_android/input/input.rb', line 33 def y @y end |