cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCComController Class Reference

#include <CCComController.h>

Inheritance diagram for CCComController:
CCComponent CCInputDelegate CCObject CCTouchDelegate CCAccelerometerDelegate CCKeypadDelegate CCCopying

Public Member Functions

 CCComController (void)
 ctor ()
virtual ~CCComController (void)
virtual bool init ()
virtual void onEnter ()
var onEnter ()
virtual void onExit ()
var onExit ()
virtual void update (float delta)
var update ( var delta)
virtual bool isEnabled () const
virtual void setEnabled (bool b)
- Public Member Functions inherited from CCComponent
virtual ~CCComponent (void)
virtual bool serialize (void *r)
local serialize ( local r)
const char * getName () const
var getName ()
local getName ()
void setName (const char *pName)
void setOwner (CCNode *pOwner)
CCNodegetOwner () const
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)
- Public Member Functions inherited from CCInputDelegate
virtual bool ccTouchBegan (CCTouch *pTouch, CCEvent *pEvent)
virtual void ccTouchMoved (CCTouch *pTouch, CCEvent *pEvent)
var ccTouchMoved ( var pTouch, var pEvent)
virtual void ccTouchEnded (CCTouch *pTouch, CCEvent *pEvent)
var ccTouchEnded ( var pTouch, var pEvent)
virtual void ccTouchCancelled (CCTouch *pTouch, CCEvent *pEvent)
virtual void ccTouchesBegan (CCSet *pTouches, CCEvent *pEvent)
var ccTouchesBegan ( var pTouches, var pEvent)
virtual void ccTouchesMoved (CCSet *pTouches, CCEvent *pEvent)
var ccTouchesMoved ( var pTouches, var pEvent)
virtual void ccTouchesEnded (CCSet *pTouches, CCEvent *pEvent)
var ccTouchesEnded ( var pTouches, var pEvent)
virtual void ccTouchesCancelled (CCSet *pTouches, CCEvent *pEvent)
virtual void didAccelerate (CCAcceleration *pAccelerationValue)
virtual bool isTouchEnabled ()
virtual void setTouchEnabled (bool value)
var setTouchEnabled ( var value)
virtual bool isAccelerometerEnabled ()
virtual void setAccelerometerEnabled (bool value)
virtual bool isKeypadEnabled ()
virtual void setKeypadEnabled (bool value)
virtual void setTouchMode (ccTouchesMode mode)
virtual int getTouchMode ()
var getTouchMode ()
virtual void setTouchPriority (int priority)
virtual int getTouchPriority ()
- Public Member Functions inherited from CCTouchDelegate
 CCTouchDelegate ()
virtual ~CCTouchDelegate ()
- Public Member Functions inherited from CCKeypadDelegate
virtual void keyBackClicked ()
virtual void keyMenuClicked ()

Static Public Member Functions

static cocos2d::CCObjectcreateInstance (void)
static CCComControllercreate (void)
var create ()
- Static Public Member Functions inherited from CCComponent
static CCComponentcreate (void)
var create ()
local create ()

Static Public Attributes

static
cocos2d::extension::ObjectFactory::TInfo 
Type
var Type

Additional Inherited Members

- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID
- Protected Member Functions inherited from CCComponent
 CCComponent (void)
- Protected Member Functions inherited from CCInputDelegate
 CCInputDelegate (void)
 CCInputDelegate ()
virtual ~CCInputDelegate (void)
var ~CCInputDelegate ()
- Protected Attributes inherited from CCComponent
CCNodem_pOwner
std::string m_strName
var m_strName
local m_strName
bool m_bEnabled
- Protected Attributes inherited from CCInputDelegate
bool m_bTouchEnabled
bool m_bAccelerometerEnabled
var m_bAccelerometerEnabled
bool m_bKeypadEnabled
var m_bKeypadEnabled

Constructor & Destructor Documentation

CCComController ( void  )
var ctor (   )
virtual ~CCComController ( void  )
virtual

Member Function Documentation

static CCComController* create ( void  )
static
var create (   )
static
static cocos2d::CCObject*
createInstance
( void  )
static
var createInstance (   )
static
virtual bool init ( )
virtual

Reimplemented from CCComponent.

var init ( )
virtual

Reimplemented from CCComponent.

virtual bool isEnabled ( ) const
virtual

Reimplemented from CCComponent.

var isEnabled ( )
virtual

Reimplemented from CCComponent.

virtual void onEnter ( )
virtual

Reimplemented from CCComponent.

var onEnter ( )
virtual

Reimplemented from CCComponent.

virtual void onExit ( )
virtual

Reimplemented from CCComponent.

var onExit ( )
virtual

Reimplemented from CCComponent.

virtual void setEnabled ( bool  b)
virtual

Reimplemented from CCComponent.

var setEnabled ( var  b)
virtual

Reimplemented from CCComponent.

virtual void update ( float  delta)
virtual

Reimplemented from CCComponent.

var update ( var  delta)
virtual

Reimplemented from CCComponent.

Member Data Documentation

var Type
static

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