Class: AuthorEngine::TouchHandler::Touch
- Inherits:
-
Struct
- Object
- Struct
- AuthorEngine::TouchHandler::Touch
- Defined in:
- lib/author_engine/game/opal/touch_handler.rb
Instance Attribute Summary collapse
-
#origin_x ⇒ Object
Returns the value of attribute origin_x.
-
#origin_y ⇒ Object
Returns the value of attribute origin_y.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#origin_x ⇒ Object
Returns the value of attribute origin_x
3 4 5 |
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3 def origin_x @origin_x end |
#origin_y ⇒ Object
Returns the value of attribute origin_y
3 4 5 |
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3 def origin_y @origin_y end |
#x ⇒ Object
Returns the value of attribute x
3 4 5 |
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3 def x @x end |
#y ⇒ Object
Returns the value of attribute y
3 4 5 |
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3 def y @y end |