2010-08-23 11:53:37 +08:00
|
|
|
#ifndef _CLICK_AND_MOVE_TEST_H_
|
|
|
|
#define _CLICK_AND_MOVE_TEST_H_
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
#include "../testBasic.h"
|
|
|
|
|
|
|
|
class ClickAndMoveTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
class MainLayer : public Layer
|
2010-08-23 11:53:37 +08:00
|
|
|
{
|
|
|
|
public:
|
2012-04-19 14:35:52 +08:00
|
|
|
MainLayer();
|
2013-10-23 16:14:03 +08:00
|
|
|
bool onTouchBegan(Touch* touch, Event *event);
|
|
|
|
void onTouchEnded(Touch* touch, Event *event);
|
2010-08-23 11:53:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|