mirror of https://github.com/axmolengine/axmol.git
33 lines
609 B
C++
33 lines
609 B
C++
#ifndef __BUGS_TEST_H__
|
|
#define __BUGS_TEST_H__
|
|
|
|
#include "../testBasic.h"
|
|
|
|
class BugsTestMainLayer : public Layer
|
|
{
|
|
public:
|
|
virtual void onEnter();
|
|
|
|
virtual void onTouchesBegan(const std::vector<Touch*>& touches, Event *event) override;
|
|
virtual void onTouchesMoved(const std::vector<Touch*>&touches, Event *event) override;
|
|
|
|
protected:
|
|
Point _beginPos;
|
|
Menu* _itmeMenu;
|
|
};
|
|
|
|
class BugsTestBaseLayer : public Layer
|
|
{
|
|
public:
|
|
virtual void onEnter();
|
|
void backCallback(Object* sender);
|
|
};
|
|
|
|
class BugsTestScene : public TestScene
|
|
{
|
|
public:
|
|
virtual void runThisTest();
|
|
};
|
|
|
|
#endif
|