42 lines
844 B
C
42 lines
844 B
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#include "TipNode.h"
|
|||
|
|
#include "PlatformHeader.h"
|
|||
|
|
#include "Singleton.h"
|
|||
|
|
#include "GamePlayer.h"
|
|||
|
|
#include "DismissScene.h"
|
|||
|
|
|
|||
|
|
USING_NS_CC;
|
|||
|
|
using namespace cocos2d::ui;
|
|||
|
|
|
|||
|
|
class AutoReadyScene : public TipNode, public Singleton<AutoReadyScene>
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
AutoReadyScene();
|
|||
|
|
~AutoReadyScene();
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
CREATE_FUNC(AutoReadyScene);
|
|||
|
|
|
|||
|
|
virtual bool init();
|
|||
|
|
|
|||
|
|
void show(CMD_GR_Private_ReadyInfo* pNetInfo, GamePlayer* players[TABLE_PLAYER_COUNT], bool bBtnsVisiable, uint8 cbPlayCount);
|
|||
|
|
|
|||
|
|
void hide();
|
|||
|
|
|
|||
|
|
void pushScene();
|
|||
|
|
void popScene();
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
ImageView* m_ImageViewBg;
|
|||
|
|
Layout* m_aryUserInfo[TABLE_PLAYER_COUNT]; // <20><><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><EFBFBD>ڵ<EFBFBD>;
|
|||
|
|
Layout* m_PanelList; // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1>ؼ<EFBFBD>;
|
|||
|
|
|
|||
|
|
Text* m_txtStartPlayer;
|
|||
|
|
int m_nSecondCount;
|
|||
|
|
|
|||
|
|
Button* m_btnAgree; //ͬ<>ⰴť
|
|||
|
|
Button* m_btnRefused; //<2F>ܾ<EFBFBD><DCBE><EFBFBD>ť
|
|||
|
|
|
|||
|
|
bool m_isStart; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
};
|