2012-04-19 14:35:52 +08:00
|
|
|
#ifndef __BUGS_TEST_H__
|
|
|
|
#define __BUGS_TEST_H__
|
|
|
|
|
|
|
|
#include "../testBasic.h"
|
|
|
|
|
|
|
|
class BugsTestMainLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void onEnter();
|
|
|
|
|
|
|
|
virtual void ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent);
|
|
|
|
virtual void ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent);
|
|
|
|
|
|
|
|
protected:
|
2013-06-15 14:03:30 +08:00
|
|
|
CCPoint _beginPos;
|
|
|
|
CCMenu* _itmeMenu;
|
2012-04-19 14:35:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class BugsTestBaseLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void onEnter();
|
|
|
|
void backCallback(CCObject* pSender);
|
|
|
|
};
|
|
|
|
|
|
|
|
class BugsTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|