axmol/samples/Cpp/TestCpp/Classes/BugsTest/BugsTest.h

33 lines
551 B
C++

#ifndef __BUGS_TEST_H__
#define __BUGS_TEST_H__
#include "../testBasic.h"
class BugsTestMainLayer : public Layer
{
public:
virtual void onEnter();
virtual void ccTouchesBegan(Set *pTouches, Event *pEvent);
virtual void ccTouchesMoved(Set *pTouches, Event *pEvent);
protected:
Point _beginPos;
Menu* _itmeMenu;
};
class BugsTestBaseLayer : public Layer
{
public:
virtual void onEnter();
void backCallback(Object* pSender);
};
class BugsTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif