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

#include <CCComRender.h>

Inheritance diagram for ComRender:
Component Object

Public Member Functions

virtual void onEnter ()
virtual void onExit ()
cocos2d::NodegetNode ()
- Public Member Functions inherited from Component
virtual ~Component (void)
virtual bool init ()
virtual void update (float delta)
virtual void serialize (void *r)
local serialize ( local r)
virtual bool isEnabled () const
local isEnabled ()
virtual void setEnabled (bool b)
local setEnabled ( local b)
const char * getName () const
void setName (const char *pName)
void setOwner (Node *pOwner)
NodegetOwner () const
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)

Static Public Member Functions

static ComRendercreate (cocos2d::Node *pNode, const char *comName)
var create ( var pNode, var comName)
local create ( local pNode, local comName)
- Static Public Member Functions inherited from Component
static Componentcreate (void)
var create ()
local create ()

Protected Member Functions

 ComRender (void)
 ComRender (cocos2d::Node *node, const char *comName)
virtual ~ComRender (void)
- Protected Member Functions inherited from Component
 Component (void)

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
- Protected Attributes inherited from Component
Node_owner
std::string _name
var _name
local _name
bool _enabled

Constructor & Destructor Documentation

ComRender ( void  )
protected
var ComRender (   )
protected
local ComRender (   )
protected
ComRender ( cocos2d::Node node,
const char *  comName 
)
protected
var ComRender ( var  node,
var  comName 
)
protected
local ComRender ( local  node,
local  comName 
)
protected
virtual ~ComRender ( void  )
protectedvirtual

Member Function Documentation

static ComRender* create ( cocos2d::Node pNode,
const char *  comName 
)
static
var create ( var  pNode,
var  comName 
)
static
local create ( local  pNode,
local  comName 
)
static
cocos2d::Node* getNode ( )
var getNode ( )
local getNode ( )
virtual void onEnter ( )
virtual

Reimplemented from Component.

virtual void onExit ( )
virtual

Reimplemented from Component.


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