axmol/tools/tolua++/CCTouch.pkg

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