BeginScene.h 335 B

12345678910111213141516
  1. #ifndef __BEGIN_SCENE_H__
  2. #define __BEGIN_SCENE_H__
  3. #include "cocos2d.h"
  4. class BeginScene: public cocos2d::Layer {
  5. public:
  6. static cocos2d::Scene* createScene();
  7. virtual bool init();
  8. void Play(Ref *pSender);
  9. CREATE_FUNC(BeginScene);
  10. private:
  11. int levels;
  12. };
  13. #endif // __BEGIN_SCENE_H__