Class Index | File Index

Classes


Class cc.TransitionScene


Extends cc.Scene.

Defined in: CCTransition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
custom cleanup
<static>  
cc.TransitionScene.create(t, scene)
creates a base transition with duration and incoming scene
 
draw()
stuff gets drawn here
 
called after the transition finishes
 
set hide the out scene and show in scene
 
initWithDuration(t, scene)
initializes a transition with duration and incoming scene
 
custom onEnter
 
custom onExit
Methods borrowed from class cc.Scene:
ctor, init
Methods borrowed from class cc.Node:
addChild, convertToNodeSpace, convertToNodeSpaceAR, convertTouchToNodeSpace, convertTouchToNodeSpaceAR, convertToWorldSpace, convertToWorldSpaceAR, description, getActionByTag, getActionManager, getAnchorPoint, getAnchorPointInPoints, getBoundingBox, getBoundingBoxToWorld, getCamera, getChildByTag, getChildren, getChildrenCount, getContentSize, getGLServerState, getGrid, getOrderOfArrival, getParent, getPosition, getPositionX, getPositionY, getRotation, getScale, getScaleX, getScaleY, getScheduler, getShaderProgram, getSkewX, getSkewY, getTag, getUserData, getUserObject, getVertexZ, getZOrder, ignoreAnchorPointForPosition, isIgnoreAnchorPointForPosition, isRunning, isVisible, nodeToParentTransform, nodeToWorldTransform, numberOfRunningActions, onEnterTransitionDidFinish, onExitTransitionDidStart, parentToNodeTransform, pauseSchedulerAndActions, release, removeAllChildren, removeAllChildrenWithCleanup, removeChild, removeChildByTag, removeFromParent, removeFromParentAndCleanup, reorderChild, resumeSchedulerAndActions, retain, runAction, schedule, scheduleOnce, scheduleUpdate, scheduleUpdateWithPriority, setActionManager, setAnchorPoint, setContentSize, setGLServerState, setGrid, setNodeDirty, setOrderOfArrival, setParent, setPosition, setPositionX, setPositionY, setRotation, setScale, setScaleX, setScaleY, setScheduler, setShaderProgram, setSkewX, setSkewY, setTag, setUserData, setUserObject, setVertexZ, setVisible, setZOrder, sortAllChildren, stopAction, stopActionByTag, stopAllActions, transform, transformAncestors, unschedule, unscheduleAllCallbacks, unscheduleUpdate, update, updateTransform, visit, worldToNodeTransform
Class Detail
cc.TransitionScene()
Method Detail
cleanup()
custom cleanup

<static> {cc.TransitionScene|Null} cc.TransitionScene.create(t, scene)
creates a base transition with duration and incoming scene
Parameters:
{Number} t
time in seconds
{cc.Scene} scene
the scene to transit with
Returns:
{cc.TransitionScene|Null}

draw()
stuff gets drawn here

finish()
called after the transition finishes

hideOutShowIn()
set hide the out scene and show in scene

{Boolean} initWithDuration(t, scene)
initializes a transition with duration and incoming scene
Parameters:
{Number} t
time in seconds
{cc.Scene} scene
a scene to transit to
Returns:
{Boolean} return false if error

onEnter()
custom onEnter

onExit()
custom onExit

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