Class: MG::RotateBy

Inherits:
Action show all
Defined in:
doc/API_reference.rb

Constructors collapse

Methods inherited from Action

#clone, #done?, #reverse

Constructor Details

#initialize(delta_angle, interval) ⇒ Sprite

Creates an action that will rotates the position of the receiver to a new angle determined by the sum of the current rotation and the given delta_angle object.

Parameters:

  • delta_angle (Float)

    the angle to add to the current rotation

  • interval (Float)

    the animation interval.



95
# File 'doc/API_reference.rb', line 95

def initialize(delta_angle, interval); end