mirror of https://github.com/axmolengine/axmol.git
23 lines
400 B
Plaintext
23 lines
400 B
Plaintext
namespace cocos2d {
|
|
|
|
class CCTouch : public CCObject
|
|
{
|
|
|
|
CCTouch();
|
|
CCTouch(int nViewId, float x, float y);
|
|
|
|
CCPoint locationInView(int nViewId);
|
|
CCPoint previousLocationInView(int nViewId);
|
|
int view() { return m_nViewId; }
|
|
|
|
void SetTouchInfo(int nViewId, float x, float y);
|
|
};
|
|
|
|
class CCEvent : public CCObject
|
|
{
|
|
};
|
|
|
|
} // end of namespace cocos2d
|
|
|
|
|