Class: AuthorEngine::TouchHandler::Touch

Inherits:
Struct
  • Object
show all
Defined in:
lib/author_engine/game/opal/touch_handler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#origin_xObject

Returns the value of attribute origin_x

Returns:

  • (Object)

    the current value of origin_x



3
4
5
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3

def origin_x
  @origin_x
end

#origin_yObject

Returns the value of attribute origin_y

Returns:

  • (Object)

    the current value of origin_y



3
4
5
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3

def origin_y
  @origin_y
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



3
4
5
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



3
4
5
# File 'lib/author_engine/game/opal/touch_handler.rb', line 3

def y
  @y
end