摘要:
testBasic.hclass TestScene: public CCScene{public: TestScene(bool bPortrait = false); virtual void onEnter(); //子类重载这个方法,运行自己的场景 virtual void runThisTest() = 0; //返回到主菜单场景 virtual void MainMenuCallback(CCObject* pSender); }typedef CCLayer* (*NEWTESTFUNC)();#define T... 阅读全文