Cocos2d-x  4.0.0
Static Public Member Functions | List of all members
TransitionMoveInR Class Reference

TransitionMoveInR: Move in from to the right the incoming scene. More...

Inherits TransitionMoveInL.

Static Public Member Functions

static TransitionMoveInRcreate (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
 
- Static Public Member Functions inherited from TransitionMoveInL
static TransitionMoveInLcreate (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
 
- Static Public Member Functions inherited from TransitionScene
static TransitionScenecreate (float t, Scene *scene)
 Creates a base transition with duration and incoming scene.
 
- Static Public Member Functions inherited from Scene
static Scenecreate ()
 Creates a new Scene object.
 
static ScenecreateWithSize (const Size &size)
 Creates a new Scene object with a predefined Size.
 
static ScenecreateWithPhysics ()
 Create a scene with physics.
 
- Static Public Member Functions inherited from Node
static Nodecreate ()
 Allocates and initializes a node.
 
static int getAttachedNodeCount ()
 Gets count of nodes those are attached to scene graph.
 
template<typename _T >
static void sortNodes (cocos2d::Vector< _T * > &nodes)
 Sorts helper function.
 

Additional Inherited Members

- Public Types inherited from TransitionScene
enum  Orientation { LEFT_OVER = 0, RIGHT_OVER = 1, UP_OVER = 0, DOWN_OVER = 1 }
 Orientation Type used by some transitions. More...
 
- Public Member Functions inherited from TransitionMoveInL
virtual ActionIntervalaction ()
 Returns the action that will be performed.
 
virtual ActionIntervaleaseActionWithAction (ActionInterval *action) override
 Returns the Ease action that will be performed on a linear action.
 
virtual void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'.
 
- Public Attributes inherited from Ref
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 
void * _scriptObject
 scriptObject, support for swift
 
bool _rooted
 When true, it means that the object was already rooted.
 
- Static Public Attributes inherited from Node
static const int INVALID_TAG = -1
 Default tag used for all the nodes.
 
- Protected Member Functions inherited from TransitionScene
bool initWithDuration (float t, Scene *scene)
 initializes a transition with duration and incoming scene
 

Detailed Description

TransitionMoveInR: Move in from to the right the incoming scene.

Member Function Documentation

static TransitionMoveInR* create ( float  t,
Scene scene 
)
static

Creates a transition with duration and incoming scene.

Parameters
tDuration time, in seconds.
sceneA given scene.
Returns
A autoreleased TransitionMoveInR object.

The documentation for this class was generated from the following file: