axmol/tools/tolua++/CCTouch.pkg

24 lines
437 B
Plaintext
Raw Normal View History

2012-02-02 14:26:38 +08:00
enum {
CCTOUCHBEGAN,
CCTOUCHMOVED,
CCTOUCHENDED,
CCTOUCHCANCELLED,
};
2011-06-14 14:31:25 +08:00
class CCTouch : public CCObject
{
CCPoint getLocation() const;
CCPoint getPreviousLocation() const;
CCPoint getDelta() const;
CCPoint getLocationInView() const;
CCPoint getPreviousLocationInView() const;
void setTouchInfo(int id, float x, float y);
int getID();
2011-06-14 14:31:25 +08:00
};
class CCEvent : public CCObject
{
};