Class: MG::MoveBy
Constructors collapse
-
#initialize(delta_location, interval) ⇒ MoveBy
constructor
Creates an action that will move the position of the receiver to a new location determined by the sum of the current location and the given
delta_location
object.
Methods inherited from Action
Constructor Details
#initialize(delta_location, interval) ⇒ MoveBy
Creates an action that will move the position of the receiver to a new location determined by the sum of the current location and the given delta_location
object.
39 |
# File 'doc/API_reference.rb', line 39 def initialize(delta_location, interval); end |