#include <CCTouch.h>
Public Member Functions | |
| CCTouch () | |
| CCPoint | getLocation () const |
| returns the current touch location in OpenGL coordinates More... | |
| var | getLocation () |
| returns the current touch location in OpenGL coordinates More... | |
| local | getLocation () |
| returns the current touch location in OpenGL coordinates More... | |
| CCPoint | getPreviousLocation () const |
| returns the previous touch location in OpenGL coordinates More... | |
| var | getPreviousLocation () |
| returns the previous touch location in OpenGL coordinates More... | |
| local | getPreviousLocation () |
| returns the previous touch location in OpenGL coordinates More... | |
| CCPoint | getStartLocation () const |
| returns the start touch location in OpenGL coordinates More... | |
| var | getStartLocation () |
| returns the start touch location in OpenGL coordinates More... | |
| local | getStartLocation () |
| 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... | |
| local | getLocationInView () |
| returns the current touch location in screen coordinates More... | |
| CCPoint | getPreviousLocationInView () const |
| returns the previous touch location in screen coordinates More... | |
| var | getPreviousLocationInView () |
| returns the previous touch location in screen coordinates More... | |
| local | getPreviousLocationInView () |
| returns the previous touch location in screen coordinates More... | |
| CCPoint | getStartLocationInView () const |
| returns the start touch location in screen coordinates More... | |
| var | getStartLocationInView () |
| returns the start touch location in screen coordinates More... | |
| local | getStartLocationInView () |
| returns the start touch location in screen coordinates More... | |
| void | setTouchInfo (int id, float x, float y) |
| var | setTouchInfo ( var id, var x, var y) |
| local | setTouchInfo ( local id, local x, local y) |
| int | getID () const |
| var | getId () |
| local | getID () |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| 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) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Additional Inherited Members | |
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 |
|
inline |
|
inline |
|
inline |
| CCPoint getDelta | ( | ) | const |
returns the delta of 2 current touches locations in screen coordinates
| var getDelta | ( | ) |
returns the delta of 2 current touches locations in screen coordinates
| local getDelta | ( | ) |
returns the delta of 2 current touches locations in screen coordinates
|
inline |
|
inline |
|
inline |
| CCPoint getLocation | ( | ) | const |
returns the current touch location in OpenGL coordinates
| var getLocation | ( | ) |
returns the current touch location in OpenGL coordinates
| local getLocation | ( | ) |
returns the current touch location in OpenGL coordinates
| CCPoint getLocationInView | ( | ) | const |
returns the current touch location in screen coordinates
| var getLocationInView | ( | ) |
returns the current touch location in screen coordinates
| local getLocationInView | ( | ) |
returns the current touch location in screen coordinates
| CCPoint getPreviousLocation | ( | ) | const |
returns the previous touch location in OpenGL coordinates
| var getPreviousLocation | ( | ) |
returns the previous touch location in OpenGL coordinates
| local getPreviousLocation | ( | ) |
returns the previous touch location in OpenGL coordinates
| CCPoint getPreviousLocationInView | ( | ) | const |
returns the previous touch location in screen coordinates
| var getPreviousLocationInView | ( | ) |
returns the previous touch location in screen coordinates
| local getPreviousLocationInView | ( | ) |
returns the previous touch location in screen coordinates
| CCPoint getStartLocation | ( | ) | const |
returns the start touch location in OpenGL coordinates
| var getStartLocation | ( | ) |
returns the start touch location in OpenGL coordinates
| local getStartLocation | ( | ) |
returns the start touch location in OpenGL coordinates
| CCPoint getStartLocationInView | ( | ) | const |
returns the start touch location in screen coordinates
| var getStartLocationInView | ( | ) |
returns the start touch location in screen coordinates
| local getStartLocationInView | ( | ) |
returns the start touch location in screen coordinates
|
inline |
|
inline |
|
inline |