Classes | |
class | AtlasNode |
AtlasNode is a subclass of Node that implements the RGBAProtocol and TextureProtocol protocol. More... | |
class | Node |
Node is the base element of the Scene Graph. More... | |
class | __NodeRGBA |
NodeRGBA is a subclass of Node that implements the RGBAProtocol protocol. More... | |
class | AutoreleasePool |
class | PoolManager |
class | Director |
class | DisplayLinkDirector |
DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. More... | |
class | Clonable |
Interface that defines how to clone an Ref. More... | |
class | Ref |
Macros | |
#define | CC_CALLFUNC_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR) |
#define | CC_CALLFUNCN_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR) |
#define | CC_CALLFUNCND_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR) |
#define | CC_CALLFUNCO_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR) |
#define | CC_MENU_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR) |
#define | CC_SCHEDULE_SELECTOR(_SELECTOR) static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR) |
#define | callfunc_selector(_SELECTOR) CC_CALLFUNC_SELECTOR(_SELECTOR) |
#define | callfuncN_selector(_SELECTOR) CC_CALLFUNCN_SELECTOR(_SELECTOR) |
#define | callfuncND_selector(_SELECTOR) CC_CALLFUNCND_SELECTOR(_SELECTOR) |
#define | callfuncO_selector(_SELECTOR) CC_CALLFUNCO_SELECTOR(_SELECTOR) |
#define | menu_selector(_SELECTOR) CC_MENU_SELECTOR(_SELECTOR) |
#define | schedule_selector(_SELECTOR) CC_SCHEDULE_SELECTOR(_SELECTOR) |
Typedefs | |
typedef void(Ref::* | SEL_CallFunc )() |
typedef void(Ref::* | SEL_CallFuncN )(Node *) |
typedef void(Ref::* | SEL_CallFuncND )(Node *, void *) |
typedef void(Ref::* | SEL_CallFuncO )(Ref *) |
typedef void(Ref::* | SEL_MenuHandler )(Ref *) |
typedef void(Ref::* | SEL_SCHEDULE )(float) |
Enumerations | |
enum | { kNodeOnEnter, kNodeOnExit, kNodeOnEnterTransitionDidFinish, kNodeOnExitTransitionDidStart, kNodeOnCleanup } |
enum | { FLAGS_TRANSFORM_DIRTY = (1 << 0), FLAGS_CONTENT_SIZE_DIRTY = (1 << 1), FLAGS_DIRTY_MASK = (FLAGS_TRANSFORM_DIRTY | FLAGS_CONTENT_SIZE_DIRTY) } |
enum | MATRIX_STACK_TYPE { MATRIX_STACK_MODELVIEW, MATRIX_STACK_PROJECTION, MATRIX_STACK_TEXTURE } |
Class that creates and handles the main Window and manages how and when to execute the Scenes. More... | |
enum | Projection { _2D, _3D, CUSTOM, DEFAULT = _3D } |
Functions | |
bool CC_DLL | (Node *n1, Node *n2) |
local | ( local n1, local n2) |
#define callfunc_selector | ( | _SELECTOR | ) | CC_CALLFUNC_SELECTOR(_SELECTOR) |
#define callfuncN_selector | ( | _SELECTOR | ) | CC_CALLFUNCN_SELECTOR(_SELECTOR) |
var callfuncN_selector | ( | var | ) | CC_CALLFUNCN_SELECTOR(_SELECTOR) |
#define callfuncND_selector | ( | _SELECTOR | ) | CC_CALLFUNCND_SELECTOR(_SELECTOR) |
var callfuncND_selector | ( | var | ) | CC_CALLFUNCND_SELECTOR(_SELECTOR) |
local callfuncND_selector | ( | local | ) | CC_CALLFUNCND_SELECTOR(_SELECTOR) |
#define callfuncO_selector | ( | _SELECTOR | ) | CC_CALLFUNCO_SELECTOR(_SELECTOR) |
var callfuncO_selector | ( | var | ) | CC_CALLFUNCO_SELECTOR(_SELECTOR) |
local callfuncO_selector | ( | local | ) | CC_CALLFUNCO_SELECTOR(_SELECTOR) |
#define CC_CALLFUNC_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR) |
var CC_CALLFUNC_SELECTOR | ( | var | ) | static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR) |
local CC_CALLFUNC_SELECTOR | ( | local | ) | static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR) |
#define CC_CALLFUNCN_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR) |
var CC_CALLFUNCN_SELECTOR | ( | var | ) | static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR) |
local CC_CALLFUNCN_SELECTOR | ( | local | ) | static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR) |
#define CC_CALLFUNCND_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR) |
var CC_CALLFUNCND_SELECTOR | ( | var | ) | static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR) |
local CC_CALLFUNCND_SELECTOR | ( | local | ) | static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR) |
#define CC_CALLFUNCO_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR) |
var CC_CALLFUNCO_SELECTOR | ( | var | ) | static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR) |
local CC_CALLFUNCO_SELECTOR | ( | local | ) | static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR) |
#define CC_MENU_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR) |
#define CC_SCHEDULE_SELECTOR | ( | _SELECTOR | ) | static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR) |
var CC_SCHEDULE_SELECTOR | ( | var | ) | static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR) |
#define menu_selector | ( | _SELECTOR | ) | CC_MENU_SELECTOR(_SELECTOR) |
var menu_selector | ( | var | ) | CC_MENU_SELECTOR(_SELECTOR) |
local menu_selector | ( | local | ) | CC_MENU_SELECTOR(_SELECTOR) |
#define schedule_selector | ( | _SELECTOR | ) | CC_SCHEDULE_SELECTOR(_SELECTOR) |
var schedule_selector | ( | var | ) | CC_SCHEDULE_SELECTOR(_SELECTOR) |
local schedule_selector | ( | local | ) | CC_SCHEDULE_SELECTOR(_SELECTOR) |
typedef void(Ref::* SEL_CallFunc)() |
typedef void(Ref::* SEL_CallFunc)() |
typedef void(Ref::* SEL_CallFunc)() |
typedef void(Ref::* SEL_CallFuncN)(Node *) |
typedef void(Ref::* SEL_CallFuncN)(Node *) |
typedef void(Ref::* SEL_CallFuncN)(Node *) |
typedef void(Ref::* SEL_CallFuncND)(Node *, void *) |
typedef void(Ref::* SEL_CallFuncND)(Node *, void *) |
typedef void(Ref::* SEL_CallFuncND)(Node *, void *) |
typedef void(Ref::* SEL_CallFuncO)(Ref *) |
typedef void(Ref::* SEL_CallFuncO)(Ref *) |
typedef void(Ref::* SEL_CallFuncO)(Ref *) |
typedef void(Ref::* SEL_MenuHandler)(Ref *) |
typedef void(Ref::* SEL_MenuHandler)(Ref *) |
typedef void(Ref::* SEL_MenuHandler)(Ref *) |
typedef void(Ref::* SEL_SCHEDULE)(float) |
typedef void(Ref::* SEL_SCHEDULE)(float) |
typedef void(Ref::* SEL_SCHEDULE)(float) |
anonymous enum |
var enum |
local enum |
|
strong |
Class that creates and handles the main Window and manages how and when to execute the Scenes.
The Director is also responsible for:
Since the Director is a singleton, the standard way to use it is by calling: _ Director::getInstance()->methodName();
The Director also sets the default OpenGL context:
Enumerator | |
---|---|
MATRIX_STACK_MODELVIEW | |
MATRIX_STACK_PROJECTION | |
MATRIX_STACK_TEXTURE |
|
strong |
Class that creates and handles the main Window and manages how and when to execute the Scenes.
The Director is also responsible for:
Since the Director is a singleton, the standard way to use it is by calling: _ Director::getInstance()->methodName();
The Director also sets the default OpenGL context:
Enumerator | |
---|---|
MATRIX_STACK_MODELVIEW | |
MATRIX_STACK_PROJECTION | |
MATRIX_STACK_TEXTURE |
|
strong |
Class that creates and handles the main Window and manages how and when to execute the Scenes.
The Director is also responsible for:
Since the Director is a singleton, the standard way to use it is by calling: _ Director::getInstance()->methodName();
The Director also sets the default OpenGL context:
Enumerator | |
---|---|
MATRIX_STACK_MODELVIEW | |
MATRIX_STACK_PROJECTION | |
MATRIX_STACK_TEXTURE |
|
strong |
bool CC_DLL cocos2d::nodeComparisonLess |
( | Node * | n1, |
Node * | n2 | ||
) |
var nodeComparisonLess | ( | var | n1, |
var | n2 | ||
) |
local nodeComparisonLess | ( | local | n1, |
local | n2 | ||
) |