cocos2d-x  3.0-rc0
 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 Ref Clonable

Public Member Functions

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...
 

Protected Member Functions

 FlipY3D ()
virtual ~FlipY3D ()
- 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)

Additional Inherited Members

- 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 Attributes inherited from GridAction
Size _gridSize
NodeGrid_gridNodeTarget
var _gridNodeTarget
local _gridNodeTarget

Detailed Description

FlipY3D action.

Constructor & Destructor Documentation

FlipY3D ( )
inlineprotected
virtual ~FlipY3D ( )
inlineprotectedvirtual

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: