32 lines
541 B
C
32 lines
541 B
C
|
|
|
|||
|
|
#ifndef __ZJH_CHIPNODE__
|
|||
|
|
#define __ZJH_CHIPNODE__
|
|||
|
|
|
|||
|
|
#include "cocos2d.h"
|
|||
|
|
#include "Types.h"
|
|||
|
|
#include "ui/CocosGUI.h"
|
|||
|
|
USING_NS_CC;
|
|||
|
|
using namespace ui;
|
|||
|
|
|
|||
|
|
class ZJHChipNode : public Node
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
ZJHChipNode();
|
|||
|
|
virtual ~ZJHChipNode();
|
|||
|
|
|
|||
|
|
virtual void onEnter();
|
|||
|
|
virtual void onExit();
|
|||
|
|
virtual void onEnterTransitionDidFinish();
|
|||
|
|
bool init(uint8 cbCardData);
|
|||
|
|
|
|||
|
|
static ZJHChipNode* create(uint8 cbCardData);
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
Node* _panelRoot; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
|
|||
|
|
|
|||
|
|
Sprite* _sprChipBg; //<2F><><EFBFBD>뱳<EFBFBD><EBB1B3>;
|
|||
|
|
Text* _txtNum; //<2F><>ֵ;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#endif
|