axmol/test_sprite/ImgSprite.h

20 lines
310 B
C
Raw Normal View History

#ifndef __IMGSPRITE__H__
#define __IMGSPRITE__H__
#include "CCSprite.h"
#include "CCTextureCache.h"
2010-08-04 16:14:21 +08:00
using namespace cocos2d;
class ImgSprite : public CCSprite
{
public:
ImgSprite();
~ImgSprite();
public:
static ImgSprite* CreateWithTexture(CCTexture2D* aTexture);
};
#endif