axmol/tests/Classes/ClickAndMoveTest/ClickAndMoveTest.h

21 lines
358 B
C++

#ifndef _CLICK_AND_MOVE_TEST_H_
#define _CLICK_AND_MOVE_TEST_H_
#include "../testBasic.h"
class ClickAndMoveTestScene : public TestScene
{
public:
virtual void runThisTest();
};
class MainLayer : public Layer
{
public:
MainLayer();
bool onTouchBegan(Touch* touch, Event *event);
void onTouchEnded(Touch* touch, Event *event);
};
#endif