Files
wnmj/Classes/Scenes/DismissScene.h

49 lines
1010 B
C
Raw Permalink Normal View History

2026-02-13 14:34:15 +08:00
#pragma once
#include "TipNode.h"
#include "PlatformHeader.h"
#include "Singleton.h"
#include "GamePlayer.h"
USING_NS_CC;
using namespace cocos2d::ui;
#define TABLE_PLAYER_COUNT 5
class DismissScene : public TipNode, public Singleton<DismissScene>
{
public:
DismissScene();
~DismissScene();
public:
CREATE_FUNC(DismissScene);
virtual bool init();
void show(BYTE[], GamePlayer* players[TABLE_PLAYER_COUNT], bool bBtnsVisiable, BYTE cbCount);
void hide();
void OnEventGameClock(float dt);
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_aryName[TABLE_PLAYER_COUNT];
//Sprite* m_aryHead[TABLE_PLAYER_COUNT];
//Text* m_aryResult[TABLE_PLAYER_COUNT];
Text* m_ALNumber;
int m_nSecondCount;
Button* m_btnAgree; //ͬ<>ⰴť
Button* m_btnRefused; //<2F>ܾ<EFBFBD><DCBE><EFBFBD>ť
Button* m_btnClose; //<2F>رհ<D8B1>ť<EFBFBD><C5A5>Ĭ<EFBFBD>Ͼܾ<CFBE><DCBE><EFBFBD>
bool m_isStart; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
};