123456789101112131415161718 |
- #ifndef __HELLOWORLD_SCENE_H__
- #define __HELLOWORLD_SCENE_H__
- #include "cocos2d.h"
- class HelloWorld : public cocos2d::Layer {
- public:
- static cocos2d::Scene* createScene();
- virtual bool init();
-
- void Play(Ref *pSender);
-
- // implement the "static create()" method manually
- CREATE_FUNC(HelloWorld);
- };
- #endif // __HELLOWORLD_SCENE_H__
|