cocos2d-x  3.0-beta2
 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 () override
virtual void onExit () override
virtual bool serialize (void *r) override
local serialize ( local r)
virtual cocos2d::NodegetNode ()
var getNode ()
local getNode ()
virtual void setNode (cocos2d::Node *node)
local setNode ( local node)
- Public Member Functions inherited from Component
virtual ~Component (void)
virtual bool init ()
virtual void update (float delta)
local update ( local delta)
virtual bool isEnabled () const
var isEnabled ()
local isEnabled ()
virtual void setEnabled (bool b)
const std::string & getName () const
var getName ()
local getName ()
void setName (const std::string &name)
var setName ( var name)
local setName ( local name)
void setOwner (Node *pOwner)
var setOwner ( var pOwner)
local setOwner ( local 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...
 
unsigned int getReferenceCount () const
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 cocos2d::ObjectcreateInstance (void)
var createInstance ()
local createInstance ()
static ComRendercreate (void)
var create ()
local create ()
static ComRendercreate (cocos2d::Node *node, const char *comName)
local create ( local node, local comName)
- Static Public Member Functions inherited from Component
static Componentcreate (void)
var create ()
local create ()

Static Public Attributes

static
cocostudio::ObjectFactory::TInfo 
Type

Protected Member Functions

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

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
var _enabled
local _enabled

Constructor & Destructor Documentation

ComRender ( void  )
protected
var ctor (   )
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 ( void  )
static
var create (   )
static
local create (   )
static
static ComRender* create ( cocos2d::Node node,
const char *  comName 
)
static
var create ( var  node,
var  comName 
)
static
local create ( local  node,
local  comName 
)
static
static cocos2d::Object*
createInstance
( void  )
static
var createInstance (   )
static
local createInstance (   )
static
virtual cocos2d::Node* getNode ( )
virtual
var getNode ( )
virtual
local getNode ( )
virtual
virtual void onEnter ( )
overridevirtual

Reimplemented from Component.

virtual void onExit ( )
overridevirtual

Reimplemented from Component.

virtual bool serialize ( void *  r)
overridevirtual

Reimplemented from Component.

var serialize ( var  r)
overridevirtual

Reimplemented from Component.

local serialize ( local  r)
overridevirtual

Reimplemented from Component.

virtual void setNode ( cocos2d::Node node)
virtual
var setNode ( var  node)
virtual
local setNode ( local  node)
virtual

Member Data Documentation

var Type
static
local Type
static

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