enum { CCTOUCHBEGAN, CCTOUCHMOVED, CCTOUCHENDED, CCTOUCHCANCELLED, }; 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(); }; class CCEvent : public CCObject { };