cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Base Nodes

Classes

class  AtlasNode
 AtlasNode is a subclass of Node that implements the RGBAProtocol and TextureProtocol protocol. More...
 
class  Director
 Class that creates and handles the main Window and manages how and when to execute the Scenes. More...
 
class  DisplayLinkDirector
 DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. 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  Clonable
 Interface that defines how to clone an object. More...
 
class  Object
 

Macros

#define schedule_selector(_SELECTOR)   static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR)
#define callfunc_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR)
#define callfuncN_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR)
#define callfuncND_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR)
#define callfuncO_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR)
#define menu_selector(_SELECTOR)   static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR)
#define event_selector(_SELECTOR)   static_cast<cocos2d::SEL_EventHandler>(&_SELECTOR)
#define compare_selector(_SELECTOR)   static_cast<cocos2d::SEL_Compare>(&_SELECTOR)
#define CC_CALLBACK_0(__selector__, __target__,...)   std::bind(&__selector__,__target__, ##__VA_ARGS__)
#define CC_CALLBACK_1(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)
#define CC_CALLBACK_2(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__VA_ARGS__)
#define CC_CALLBACK_3(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3 ##__VA_ARGS__)

Typedefs

typedef void(Object::* SEL_SCHEDULE )(float)
typedef void(Object::* SEL_CallFunc )()
typedef void(Object::* SEL_CallFuncN )(Node *)
typedef void(Object::* SEL_CallFuncND )(Node *, void *)
typedef void(Object::* SEL_CallFuncO )(Object *)
typedef void(Object::* SEL_MenuHandler )(Object *)
typedef int(Object::* SEL_Compare )(Object *)

Enumerations

enum  {
  kNodeOnEnter, kNodeOnExit, kNodeOnEnterTransitionDidFinish, kNodeOnExitTransitionDidStart,
  kNodeOnCleanup
}
 

Functions

bool  (Node *n1, Node *n2)
var  ( var n1, var n2)
local  ( local n1, local n2)

Detailed Description

Macro Definition Documentation

#define callfunc_selector (   _SELECTOR)    static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR)
var callfunc_selector (   var)    static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR)
local callfunc_selector (   local)    static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR)
#define callfuncN_selector (   _SELECTOR)    static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR)
var callfuncN_selector (   var)    static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR)
local callfuncN_selector (   local)    static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR)
#define callfuncND_selector (   _SELECTOR)    static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR)
#define callfuncO_selector (   _SELECTOR)    static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR)
var callfuncO_selector (   var)    static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR)
local callfuncO_selector (   local)    static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR)
#define CC_CALLBACK_0 (   __selector__,
  __target__,
  ... 
)    std::bind(&__selector__,__target__, ##__VA_ARGS__)
var CC_CALLBACK_0 (   var,
  var,
  ... 
)    std::bind(&__selector__,__target__, ##__VA_ARGS__)
local CC_CALLBACK_0 (   local,
  local,
  ... 
)    std::bind(&__selector__,__target__, ##__VA_ARGS__)
#define CC_CALLBACK_1 (   __selector__,
  __target__,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)
var CC_CALLBACK_1 (   var,
  var,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)
local CC_CALLBACK_1 (   local,
  local,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)
#define CC_CALLBACK_2 (   __selector__,
  __target__,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__VA_ARGS__)
var CC_CALLBACK_2 (   var,
  var,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__VA_ARGS__)
local CC_CALLBACK_2 (   local,
  local,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__VA_ARGS__)
#define CC_CALLBACK_3 (   __selector__,
  __target__,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3 ##__VA_ARGS__)
var CC_CALLBACK_3 (   var,
  var,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3 ##__VA_ARGS__)
local CC_CALLBACK_3 (   local,
  local,
  ... 
)    std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3 ##__VA_ARGS__)
#define compare_selector (   _SELECTOR)    static_cast<cocos2d::SEL_Compare>(&_SELECTOR)
var compare_selector (   var)    static_cast<cocos2d::SEL_Compare>(&_SELECTOR)
local compare_selector (   local)    static_cast<cocos2d::SEL_Compare>(&_SELECTOR)
#define event_selector (   _SELECTOR)    static_cast<cocos2d::SEL_EventHandler>(&_SELECTOR)
var event_selector (   var)    static_cast<cocos2d::SEL_EventHandler>(&_SELECTOR)
local event_selector (   local)    static_cast<cocos2d::SEL_EventHandler>(&_SELECTOR)
#define menu_selector (   _SELECTOR)    static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR)
var menu_selector (   var)    static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR)
local menu_selector (   local)    static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR)
#define schedule_selector (   _SELECTOR)    static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR)

Typedef Documentation

typedef void(Object::*
SEL_CallFunc)()
typedef void(Object::*
SEL_CallFunc)()
typedef void(Object::*
SEL_CallFunc)()
typedef void(Object::*
SEL_CallFuncN)(Node *)
typedef void(Object::*
SEL_CallFuncN)(Node *)
typedef void(Object::*
SEL_CallFuncN)(Node *)
typedef void(Object::*
SEL_CallFuncND)(Node *, void *)
typedef void(Object::*
SEL_CallFuncND)(Node *, void *)
typedef void(Object::*
SEL_CallFuncND)(Node *, void *)
typedef void(Object::*
SEL_CallFuncO)(Object *)
typedef void(Object::*
SEL_CallFuncO)(Object *)
typedef void(Object::*
SEL_CallFuncO)(Object *)
typedef int(Object::*
SEL_Compare)(Object *)
typedef int(Object::*
SEL_Compare)(Object *)
typedef int(Object::*
SEL_Compare)(Object *)
typedef void(Object::*
SEL_MenuHandler)(Object *)
typedef void(Object::*
SEL_MenuHandler)(Object *)
typedef void(Object::*
SEL_MenuHandler)(Object *)
typedef void(Object::*
SEL_SCHEDULE)(float)
typedef void(Object::*
SEL_SCHEDULE)(float)
typedef void(Object::*
SEL_SCHEDULE)(float)

Enumeration Type Documentation

anonymous enum
Enumerator
kNodeOnEnter 
kNodeOnExit 
kNodeOnEnterTransitionDidFinish 
kNodeOnExitTransitionDidStart 
kNodeOnCleanup 
var enum
Enumerator
kNodeOnEnter 
kNodeOnExit 
kNodeOnEnterTransitionDidFinish 
kNodeOnExitTransitionDidStart 
kNodeOnCleanup 
local enum
Enumerator
kNodeOnEnter 
kNodeOnExit 
kNodeOnEnterTransitionDidFinish 
kNodeOnExitTransitionDidStart 
kNodeOnCleanup 

Function Documentation

bool cocos2d::nodeComparisonLess ( Node *  n1,
Node *  n2 
)
var nodeComparisonLess ( var  n1,
var  n2 
)
local nodeComparisonLess ( local  n1,
local  n2 
)