植物大战僵尸游戏开发教程专栏地址http://t.csdnimg.cn/8UFMs
文件位置
代码实现的文件在Class\Scenes\GameScene文件夹中,如下图所示。
GameEndLayer.h
class GSGameEndLayer :public LayerColor
{
public:CREATE_FUNC(GSGameEndLayer);void successfullEntry();void breakThrough(GameTypes gameType);CC_CONSTRUCTOR_ACCESS:GSGameEndLayer();~GSGameEndLayer();bool init();private:void createShieldL