mirror of
https://github.com/wu736139669/SmallGame_Cocos2dx.git
synced 2026-08-05 06:23:09 +00:00
36 lines
679 B
C++
36 lines
679 B
C++
//
|
|
// GameShare_Score.h
|
|
// OnceAgain
|
|
//
|
|
// Created by mac on 14-3-6.
|
|
//
|
|
//
|
|
|
|
#ifndef __OnceAgain__GameShare_Score__
|
|
#define __OnceAgain__GameShare_Score__
|
|
|
|
#include <iostream>
|
|
#include "cocos2d.h"
|
|
#include "platform/CCPlatformMacros.h"
|
|
|
|
#include "GameShare_Texture.h"
|
|
USING_NS_CC;
|
|
class CCounterImage;
|
|
class GameShare_Score : public CCSprite
|
|
{
|
|
public:
|
|
virtual bool init(void);
|
|
GameShare_Score(void){};
|
|
~GameShare_Score(void);
|
|
|
|
CREATE_FUNC(GameShare_Score);
|
|
private:
|
|
CC_PROPERTY(long, score, Score);
|
|
CCSprite *scroeSprite;
|
|
CCounterImage* mpCounterImage;
|
|
|
|
CC_SYNTHESIZE(CCSprite*, mpBg, Bg);
|
|
};
|
|
|
|
#endif /* defined(__OnceAgain__GameShare_Score__) */
|