2013-02-19 15:38:30 +08:00
|
|
|
#ifndef __HELLOWORLD_SCENE_H__
|
|
|
|
#define __HELLOWORLD_SCENE_H__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
2016-12-21 13:49:59 +08:00
|
|
|
class HelloWorld : public cocos2d::Scene
|
2013-02-19 15:38:30 +08:00
|
|
|
{
|
|
|
|
public:
|
2013-09-19 07:50:26 +08:00
|
|
|
static cocos2d::Scene* createScene();
|
|
|
|
|
2014-10-16 22:58:24 +08:00
|
|
|
virtual bool init();
|
2013-02-19 15:38:30 +08:00
|
|
|
|
|
|
|
// a selector callback
|
2014-02-20 11:31:49 +08:00
|
|
|
void menuCloseCallback(cocos2d::Ref* pSender);
|
2013-02-19 15:38:30 +08:00
|
|
|
|
2013-09-19 07:50:26 +08:00
|
|
|
// implement the "static create()" method manually
|
2013-02-19 15:38:30 +08:00
|
|
|
CREATE_FUNC(HelloWorld);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __HELLOWORLD_SCENE_H__
|