|
cocos2d-x
2.2.3-gd2.113-rev1ec524e
|
#include <CCTouch.h>
Public Member Functions | |
| CCTouch () | |
| ctor More... | |
| CCPoint | getLocation () const |
| returns the current touch location in OpenGL coordinates More... | |
| CCPoint | getPreviousLocation () const |
| returns the previous touch location in OpenGL coordinates More... | |
| CCPoint | getStartLocation () const |
| returns the start touch location in OpenGL coordinates More... | |
| CCPoint | getDelta () const |
| returns the delta of 2 current touches locations in screen coordinates More... | |
| CCPoint | getLocationInView () const |
| returns the current touch location in screen coordinates More... | |
| CCPoint | getPreviousLocationInView () const |
| returns the previous touch location in screen coordinates More... | |
| CCPoint | getStartLocationInView () const |
| returns the start touch location in screen coordinates More... | |
| void | setTouchInfo (int id, float x, float y) |
| int | getID () const |
| getId More... | |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| NA. More... | |
| void | release (void) |
| void | retain (void) |
| CCObject * | autorelease (void) |
| CCObject * | copy (void) |
| bool | isSingleReference (void) const |
| unsigned int | retainCount (void) const |
| virtual bool | isEqual (const CCObject *pObject) |
| virtual void | acceptVisitor (CCDataVisitor &visitor) |
| virtual void | update (float dt) |
| CCObject (const CCObject &) | |
| CCObject & | operator= (const CCObject &) |
| virtual void | encodeWithCoder (DS_Dictionary *) |
| virtual bool | canEncode () |
| CCObjectType | getObjType () const |
| virtual int | getTag () const |
| virtual void | setTag (int nTag) |
| void | setObjType (CCObjectType) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Additional Inherited Members | |
Static Public Member Functions inherited from CCObject | |
| static CCObject * | createWithCoder (DS_Dictionary *) |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
| int | m_nTag |
| int | m_eObjType |
| unsigned int | m_uObjectIdxInArray |
|
inline |
ctor
| CCPoint getDelta | ( | ) | const |
returns the delta of 2 current touches locations in screen coordinates
|
inline |
getId
| CCPoint getLocation | ( | ) | const |
returns the current touch location in OpenGL coordinates
| CCPoint getLocationInView | ( | ) | const |
returns the current touch location in screen coordinates
| CCPoint getPreviousLocation | ( | ) | const |
returns the previous touch location in OpenGL coordinates
| CCPoint getPreviousLocationInView | ( | ) | const |
returns the previous touch location in screen coordinates
| CCPoint getStartLocation | ( | ) | const |
returns the start touch location in OpenGL coordinates
| CCPoint getStartLocationInView | ( | ) | const |
returns the start touch location in screen coordinates
|
inline |