Class Index | File Index

Classes


Class zwt.animation.BasicEngine


Extends zwt.animation.Engine.

The basic engine is a simple implementation of zwt.animation.Engine.

An animation using a basic engine will have a simple parabolic movement. You can have a look at zwt.animation.PolyEngine if you're looking for more complex behaviors.


Defined in: BasicEngine.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a basic animation engine.
Method Summary
Method Attributes Method Name and Description
 
Return the offset value.
 
setOffsetValue(float_offsetValue)
Set the offset value which is the distance between the maximum and the target value.
Methods borrowed from class zwt.animation.Engine:
getStepValue, getTargetValue, setTargetValue
Class Detail
zwt.animation.BasicEngine()
Construct a basic animation engine.
Author: Jeremy KUHN.
Method Detail
{Integer} getOffsetValue()
Return the offset value.
Returns:
The offset value

setOffsetValue(float_offsetValue)
Set the offset value which is the distance between the maximum and the target value. By default this is set to 0.
Parameters:
{Integer} float_offsetValue
The offset value

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