Class Index | File Index

Classes


Class cc.SkewTo


Extends cc.ActionInterval.

Defined in: CCActionInterval.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes
Method Summary
Method Attributes Method Name and Description
<static>  
cc.SkewTo.create(t, sx, sy)
 
initWithDuration(t, sx, sy)
 
 
update(t)
Methods borrowed from class cc.ActionInterval:
getAmplitudeRate, getElapsed, isDone, reverse, 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, stop
Class Detail
cc.SkewTo()
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes
Method Detail
<static> {cc.SkewTo} cc.SkewTo.create(t, sx, sy)
// example
var actionTo = cc.SkewTo.create(2, 37.2, -37.2);
Parameters:
{Number} t
time in seconds
{Number} sx
{Number} sy
Returns:
{cc.SkewTo}

{Boolean} initWithDuration(t, sx, sy)
Parameters:
{Number} t
time in seconds
{Number} sx
{Number} sy
Returns:
{Boolean}

startWithTarget(target)
Parameters:
{cc.Node} target

update(t)
Parameters:
{Number} t
time in seconds

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