Class Index | File Index

Classes


Class zwt.animation.Engine


Extends zwt.Object.

This is the base class of all animation engine.

An animation engine is used by an animation to get a value at a given animation time. It basically implements an easing function that describes the movement or the behavior of the animation.


Defined in: Engine.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct an animation engine.
Method Summary
Method Attributes Method Name and Description
 
Return the step value at the specified time.
 
Return the engine's target value.
 
setTargetValue(float_value)
Set the target value for the engine
Class Detail
zwt.animation.Engine()
Construct an animation engine.
Author: Jeremy KUHN.
See:
zwt.animation.Animation
Method Detail
{Float} getStepValue(time)
Return the step value at the specified time.
Parameters:
{Integer} time
The time.
Returns:
{Float} The step value.

{Float} getTargetValue()
Return the engine's target value.
Returns:
the target value

setTargetValue(float_value)
Set the target value for the engine
Parameters:
{Float} float_value
The target value to set.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:52 GMT+0100 (CET)