2013-09-20 22:23:13 +08:00
|
|
|
#ifndef _GAME_OVER_SCENE_H_
|
|
|
|
#define _GAME_OVER_SCENE_H_
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
|
|
|
class GameOverLayer : public cocos2d::LayerColor
|
|
|
|
{
|
|
|
|
public:
|
2013-11-14 14:16:14 +08:00
|
|
|
GameOverLayer():_label(nullptr) {};
|
2013-09-20 22:23:13 +08:00
|
|
|
virtual ~GameOverLayer();
|
|
|
|
bool init();
|
|
|
|
CREATE_FUNC(GameOverLayer);
|
|
|
|
|
|
|
|
void gameOverDone();
|
|
|
|
|
2014-03-26 23:33:58 +08:00
|
|
|
CC_SYNTHESIZE_READONLY(cocos2d::Label*, _label, Label);
|
2013-09-20 22:23:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class GameOverScene : public cocos2d::Scene
|
|
|
|
{
|
|
|
|
public:
|
2013-11-14 14:16:14 +08:00
|
|
|
GameOverScene():_layer(nullptr) {};
|
2013-09-20 22:23:13 +08:00
|
|
|
~GameOverScene();
|
|
|
|
bool init();
|
|
|
|
CREATE_FUNC(GameOverScene);
|
|
|
|
|
|
|
|
CC_SYNTHESIZE_READONLY(GameOverLayer*, _layer, Layer);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _GAME_OVER_SCENE_H_
|