Class: MG::Events::Touch
- Inherits:
-
Object
- Object
- MG::Events::Touch
- Defined in:
- motion-game
Overview
This class represents a touch event receive from the device, usually from the Scene#on_touch_begin method.
Properties (collapse)
-
- (Point) location
readonly
The current location of the touch event.
Instance Attribute Details
- (Point) location (readonly)
Returns the current location of the touch event.
167 168 169 |
# File 'motion-game', line 167 def location @location end |