cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TransitionFlipY Class Reference

TransitionFlipY: Flips the screen vertically. More...

#include <CCTransition.h>

Inheritance diagram for TransitionFlipY:
TransitionSceneOriented TransitionScene Scene Node Object

Public Member Functions

virtual void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'. More...
 

Static Public Member Functions

static TransitionFlipYcreate (float t, Scene *s, Orientation o)
var create ( var t, var s, var o)
local create ( local t, local s, local o)
static TransitionFlipYcreate (float t, Scene *s)
- Static Public Member Functions inherited from TransitionSceneOriented
static TransitionSceneOrientedcreate (float t, Scene *scene, Orientation orientation)
 creates a base transition with duration and incoming scene More...
 
- Static Public Member Functions inherited from TransitionScene
static TransitionScenecreate (float t, Scene *scene)
 creates a base transition with duration and incoming scene More...
 
- Static Public Member Functions inherited from Scene
static Scenecreate ()
 creates a new Scene object More...
 
var create ()
 creates a new Scene object More...
 
local create ()
 creates a new Scene object More...
 
static ScenecreateWithPhysics ()
var createWithPhysics ()
local createWithPhysics ()
- Static Public Member Functions inherited from Node
static Nodecreate (void)
 Allocates and initializes a node. More...
 
var create ()
 Allocates and initializes a node. More...
 
local create ()
 Allocates and initializes a node. More...
 

Protected Member Functions

 TransitionFlipY ()
virtual ~TransitionFlipY ()
var ~TransitionFlipY ()
local ~TransitionFlipY ()
- Protected Member Functions inherited from TransitionSceneOriented
 TransitionSceneOriented ()
virtual ~TransitionSceneOriented ()
var ~TransitionSceneOriented ()
local ~TransitionSceneOriented ()
bool initWithDuration (float t, Scene *scene, Orientation orientation)
 initializes a transition with duration and incoming scene More...
 
var initWithDuration ( var t, var scene, var orientation)
 initializes a transition with duration and incoming scene More...
 
local initWithDuration ( local t, local scene, local orientation)
 initializes a transition with duration and incoming scene More...
 
- Protected Member Functions inherited from TransitionScene
 TransitionScene ()
 TransitionScene ()
 TransitionScene ()
virtual ~TransitionScene ()
var ~TransitionScene ()
local ~TransitionScene ()
bool initWithDuration (float t, Scene *scene)
 initializes a transition with duration and incoming scene More...
 
var initWithDuration ( var t, var scene)
 initializes a transition with duration and incoming scene More...
 
local initWithDuration ( local t, local scene)
 initializes a transition with duration and incoming scene More...
 
virtual void sceneOrder ()
void setNewScene (float dt)
var setNewScene ( var dt)
local setNewScene ( local dt)
- Protected Member Functions inherited from Scene
 Scene ()
 Scene ()
 Scene ()
virtual ~Scene ()
var ~Scene ()
local ~Scene ()
bool init ()
var init ()
local init ()
bool initWithPhysics ()
var initWithPhysics ()
local initWithPhysics ()
void addChildToPhysicsWorld (Node *child)
var addChildToPhysicsWorld ( var child)
local addChildToPhysicsWorld ( local child)
- Protected Member Functions inherited from Node
 Node ()
 Node ()
 Node ()
virtual ~Node ()
local ~Node ()
void childrenAlloc (void)
 lazy allocs More...
 
var childrenAlloc ()
 lazy allocs More...
 
local childrenAlloc ()
 lazy allocs More...
 
void insertChild (Node *child, int z)
 helper that reorder a child More...
 
var insertChild ( var child, var z)
 helper that reorder a child More...
 
local insertChild ( local child, local z)
 helper that reorder a child More...
 
void detachChild (Node *child, ssize_t index, bool doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
var detachChild ( var child, var index, var doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
local detachChild ( local child, local index, local doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
Point convertToWindowSpace (const Point &nodePoint) const
 Convert cocos2d coordinates to UI windows coordinate. More...
 
var convertToWindowSpace ( var nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
local convertToWindowSpace ( local nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
virtual void updateCascadeOpacity ()
virtual void disableCascadeOpacity ()
virtual void updateCascadeColor ()
virtual void disableCascadeColor ()
virtual void updateColor ()
var updateColor ()
local updateColor ()

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 Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
var _luaID
 Lua reference id. More...
 
local _luaID
 Lua reference id. More...
 
- Static Public Attributes inherited from Node
static const int INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
var INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
local INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
- Protected Attributes inherited from TransitionSceneOriented
Orientation _orientation
local _orientation

Detailed Description

TransitionFlipY: Flips the screen vertically.

The front face is the outgoing scene and the back face is the incoming scene.

Constructor & Destructor Documentation

TransitionFlipY ( )
protected
var TransitionFlipY ( )
protected
local TransitionFlipY ( )
protected
virtual ~TransitionFlipY ( )
protectedvirtual
var ~TransitionFlipY ( )
protectedvirtual
local ~TransitionFlipY ( )
protectedvirtual

Member Function Documentation

static TransitionFlipY* create ( float  t,
Scene s,
Orientation  o 
)
static
var create ( var  t,
var  s,
var  o 
)
static
local create ( local  t,
local  s,
local  o 
)
static
static TransitionFlipY* create ( float  t,
Scene s 
)
static
var create ( var  t,
var  s 
)
static
local create ( local  t,
local  s 
)
static
virtual void onEnter ( )
overridevirtual

Event callback that is invoked every time when Node enters the 'stage'.

If the Node enters the 'stage' with a transition, this event is called when the transition starts. During onEnter you can't access a "sister/brother" node. If you override onEnter, you shall call its parent's one, e.g., Node::onEnter().

Reimplemented from TransitionScene.


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