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

FlipY3D action. More...

#include <CCActionGrid3D.h>

Inheritance diagram for FlipY3D:
FlipX3D Grid3DAction GridAction ActionInterval FiniteTimeAction Action Object Clonable

Public Member Functions

 FlipY3D ()
virtual ~FlipY3D ()
virtual void update (float time) override
 called once per frame. More...
 
virtual FlipY3Dclone () const override
 returns a clone of action More...
 

Static Public Member Functions

static FlipY3Dcreate (float duration)
 creates the action with duration More...
 
- Static Public Member Functions inherited from FlipX3D
static FlipX3Dcreate (float duration)
 creates the action with duration More...
 

Additional Inherited Members

- 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 Action
static const int INVALID_TAG = -1
 Default tag used for all the actions. More...
 
var INVALID_TAG = -1
 Default tag used for all the actions. More...
 
local INVALID_TAG = -1
 Default tag used for all the actions. More...
 
- Protected Member Functions inherited from FlipX3D
 FlipX3D ()
virtual ~FlipX3D ()
bool initWithDuration (float duration)
 initializes the action with duration More...
 
virtual bool initWithSize (const Size &gridSize, float duration)
- Protected Attributes inherited from GridAction
Size _gridSize
NodeGrid_gridNodeTarget
var _gridNodeTarget
local _gridNodeTarget

Detailed Description

FlipY3D action.

Constructor & Destructor Documentation

FlipY3D ( )
inline
virtual ~FlipY3D ( )
inlinevirtual

Member Function Documentation

virtual FlipY3D* clone ( ) const
overridevirtual

returns a clone of action

Reimplemented from FlipX3D.

static FlipY3D* create ( float  duration)
static

creates the action with duration

virtual void update ( float  time)
overridevirtual

called once per frame.

time a value between 0 and 1

For example:

  • 0 means that the action just started
  • 0.5 means that the action is in the middle
  • 1 means that the action is over

Reimplemented from FlipX3D.


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