mirror of https://github.com/axmolengine/axmol.git
24 lines
437 B
Plaintext
24 lines
437 B
Plaintext
|
|
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
|
|
{
|
|
};
|