Class blade.core.animation.Rotation
Object
|
+--blade.core.animation.Sequence
|
+--blade.core.animation.Rotation
- class
blade.core.animation.Rotation
- extends blade.core.animation.Sequence
Rotates an element around a point
Defined in animation.js
Method Summary |
function
|
handle()
Dummy event handler - this should be overridden by the implementing class
|
blade.core.animation.Rotation
function blade.core.animation.Rotation(element, vector, length, speed)
Parameters:
length
- the length (in radians) of the rotation
speed
- the speed (in radians/sec) of the rotation
id
- id of the element to rotate
x
- the x coordinate to rotate around
y
- the y coordinate to rotate around
handle
function handle()
Dummy event handler - this should be overridden by the implementing class