2012-04-19 14:35:52 +08:00
|
|
|
#ifndef __EXTENSIONS_TEST_H__
|
|
|
|
#define __EXTENSIONS_TEST_H__
|
|
|
|
|
|
|
|
#include "../testBasic.h"
|
|
|
|
|
|
|
|
class ExtensionsMainLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void onEnter();
|
|
|
|
void menuCallback(CCObject* pSender);
|
2013-06-04 17:54:05 +08:00
|
|
|
virtual void ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent);
|
|
|
|
virtual void ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent);
|
|
|
|
private:
|
|
|
|
CCPoint m_tBeginPos;
|
|
|
|
CCMenu* m_pItemMenu;
|
2012-04-19 14:35:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class ExtensionsTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __EXTENSIONS_TEST_H__ */
|