31 lines
462 B
C
31 lines
462 B
C
|
|
#pragma once
|
|||
|
|
#include "TipNode.h"
|
|||
|
|
#include "GameFrameBase.h"
|
|||
|
|
|
|||
|
|
USING_NS_CC;
|
|||
|
|
using namespace cocos2d::ui;
|
|||
|
|
|
|||
|
|
class PlayerScene : public TipNode
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
PlayerScene();
|
|||
|
|
~PlayerScene();
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
CREATE_FUNC(PlayerScene);
|
|||
|
|
virtual bool init();
|
|||
|
|
|
|||
|
|
virtual void onEnter();
|
|||
|
|
|
|||
|
|
virtual void onEnterTransitionDidFinish();
|
|||
|
|
|
|||
|
|
virtual void onExit();
|
|||
|
|
|
|||
|
|
void showPlayerInfo(GamePlayer* player = nullptr);
|
|||
|
|
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
Node* rootPanel; //<2F><><EFBFBD><EFBFBD><EFBFBD>c
|
|||
|
|
ImageView* m_ImageView;
|
|||
|
|
};
|