32 lines
531 B
C++
32 lines
531 B
C++
#pragma once
|
|
|
|
#include "TipNode.h"
|
|
#include "PlatformHeader.h"
|
|
#include "Singleton.h"
|
|
#include "GamePlayer.h"
|
|
|
|
USING_NS_CC;
|
|
using namespace cocos2d::ui;
|
|
|
|
#define IP_TABLE_PLAYER_COUNT 3
|
|
|
|
class IpTipScene : public TipNode, public Singleton<IpTipScene>
|
|
{
|
|
public:
|
|
IpTipScene();
|
|
~IpTipScene();
|
|
|
|
public:
|
|
CREATE_FUNC(IpTipScene);
|
|
|
|
virtual bool init();
|
|
|
|
void show(std::string aryNames[], std::string aryIps[], BYTE cbCount);
|
|
|
|
void pushScene();
|
|
void hide();
|
|
|
|
private:
|
|
ImageView* m_ImageViewBg;
|
|
std::vector<Text*> m_vecNickName;
|
|
}; |