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-09-03 18:22:03 +08:00
|
|
|
virtual bool onTouchBegan(Touch* touch, Event *event) override;
|
|
|
|
virtual void onTouchEnded(Touch* touch, Event *event) override;
|
2010-08-23 11:53:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|