Class Index | File Index

Classes


Class cc.EaseRateAction


Extends cc.ActionEase.

Defined in: CCActionEase.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for Easing actions with rate parameters
Method Summary
Method Attributes Method Name and Description
<static>  
cc.EaseRateAction.create(action, rate)
Creates the action with the inner action and the rate parameter
 
get rate value for the actions
 
initWithAction(action, rate)
Initializes the action with the inner action and the rate parameter
 
 
setRate(rate)
set rate value for the actions
Methods borrowed from class cc.ActionEase:
startWithTarget, stop, update
Methods borrowed from class cc.ActionInterval:
getAmplitudeRate, getElapsed, initWithDuration, isDone, setAmplitudeRate, step
Methods borrowed from class cc.FiniteTimeAction:
getDuration, setDuration
Methods borrowed from class cc.Action:
copy, copyWithZone, description, getOriginalTarget, getTag, getTarget, release, retain, setOriginalTarget, setTag, setTarget
Class Detail
cc.EaseRateAction()
Base class for Easing actions with rate parameters
Method Detail
<static> {cc.EaseRateAction} cc.EaseRateAction.create(action, rate)
Creates the action with the inner action and the rate parameter
// example
var moveEaseRateAction = cc.EaseRateAction.create(action, 3.0);
Parameters:
{cc.ActionInterval} action
{Number} rate
Returns:
{cc.EaseRateAction}

{Number} getRate()
get rate value for the actions
Returns:
{Number}

{Boolean} initWithAction(action, rate)
Initializes the action with the inner action and the rate parameter
Parameters:
{cc.ActionInterval} action
{Number} rate
Returns:
{Boolean}

{cc.ActionInterval} reverse()
Returns:
{cc.ActionInterval}

setRate(rate)
set rate value for the actions
Parameters:
{Number} rate

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:51 GMT-0800 (PST)