axmol/samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioComponentsTest/GameOverScene.h

31 lines
636 B
C
Raw Normal View History

2013-06-04 17:38:43 +08:00
#ifndef _GAME_OVER_SCENE_H_
#define _GAME_OVER_SCENE_H_
#include "cocos2d.h"
class GameOverLayer : public cocos2d::LayerColor
2013-06-04 17:38:43 +08:00
{
public:
GameOverLayer():_label(NULL) {};
virtual ~GameOverLayer();
bool init();
CREATE_FUNC(GameOverLayer);
void gameOverDone();
CC_SYNTHESIZE_READONLY(cocos2d::LabelTTF*, _label, Label);
2013-06-04 17:38:43 +08:00
};
class GameOverScene : public cocos2d::Scene
2013-06-04 17:38:43 +08:00
{
public:
GameOverScene():_layer(NULL) {};
~GameOverScene();
bool init();
CREATE_FUNC(GameOverScene);
CC_SYNTHESIZE_READONLY(GameOverLayer*, _layer, Layer);
};
#endif // _GAME_OVER_SCENE_H_