axmol/tools/tolua++/CCTouch.pkg

23 lines
400 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
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