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
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "../BaseTest.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(ClickAndMoveTest);
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
class ClickAndMoveTestCase : public TestCase
|
2010-08-23 11:53:37 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(ClickAndMoveTestCase);
|
|
|
|
|
|
|
|
ClickAndMoveTestCase();
|
2015-04-09 08:37:30 +08:00
|
|
|
bool onTouchBegan(cocos2d::Touch* touch, cocos2d::Event* event);
|
|
|
|
void onTouchEnded(cocos2d::Touch* touch, cocos2d::Event* event);
|
2010-08-23 11:53:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|