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

#include <CCInputDelegate.h>

Inheritance diagram for CCInputDelegate:
CCTouchDelegate CCAccelerometerDelegate CCKeypadDelegate CCComController

Public Member Functions

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 ()

Protected Member Functions

 CCInputDelegate (void)
 CCInputDelegate ()
virtual ~CCInputDelegate (void)
var ~CCInputDelegate ()

Protected Attributes

bool m_bTouchEnabled
bool m_bAccelerometerEnabled
var m_bAccelerometerEnabled
bool m_bKeypadEnabled
var m_bKeypadEnabled

Constructor & Destructor Documentation

CCInputDelegate ( void  )
protected
var CCInputDelegate (   )
protected
virtual ~CCInputDelegate ( void  )
protectedvirtual
var ~CCInputDelegate (   )
protectedvirtual

Member Function Documentation

virtual bool ccTouchBegan ( CCTouch pTouch,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchBegan ( var  pTouch,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchCancelled ( CCTouch pTouch,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchCancelled ( var  pTouch,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchEnded ( CCTouch pTouch,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchEnded ( var  pTouch,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchesBegan ( CCSet pTouches,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchesBegan ( var  pTouches,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchesCancelled ( CCSet pTouches,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchesCancelled ( var  pTouches,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchesEnded ( CCSet pTouches,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchesEnded ( var  pTouches,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchesMoved ( CCSet pTouches,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchesMoved ( var  pTouches,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void ccTouchMoved ( CCTouch pTouch,
CCEvent pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

var ccTouchMoved ( var  pTouch,
var  pEvent 
)
virtual

Reimplemented from CCTouchDelegate.

virtual void didAccelerate ( CCAcceleration pAccelerationValue)
virtual

Reimplemented from CCAccelerometerDelegate.

virtual int getTouchMode ( )
virtual
var getTouchMode ( )
virtual
virtual int getTouchPriority ( )
virtual
var getTouchPriority ( )
virtual
virtual bool isAccelerometerEnabled ( )
virtual
var isAccelerometerEnabled ( )
virtual
virtual bool isKeypadEnabled ( )
virtual
var isKeypadEnabled ( )
virtual
virtual bool isTouchEnabled ( )
virtual
var isTouchEnabled ( )
virtual
virtual void
setAccelerometerEnabled
( bool  value)
virtual
var setAccelerometerEnabled ( var  value)
virtual
virtual void setKeypadEnabled ( bool  value)
virtual
var setKeypadEnabled ( var  value)
virtual
virtual void setTouchEnabled ( bool  value)
virtual
var setTouchEnabled ( var  value)
virtual
virtual void setTouchMode ( ccTouchesMode  mode)
virtual
var setTouchMode ( var  mode)
virtual
virtual void setTouchPriority ( int  priority)
virtual
var setTouchPriority ( var  priority)
virtual

Member Data Documentation

bool m_bAccelerometerEnabled
protected
var m_bAccelerometerEnabled
protected
bool m_bKeypadEnabled
protected
var m_bKeypadEnabled
protected
bool m_bTouchEnabled
protected
var m_bTouchEnabled
protected

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