How can I subclass CCSprite in proper way?
It depends on your goal.Which feature would you want to implemet by inheriting CCSprite?
I want to create class for represent object in game, and I want to add this class in scene (with addChild function). Please advise.thank you.
class MySprite : public cocos2d::CCSprite
inherit it directly.
If i want a Game Object with animated CCSpriteSheet… How can I subclass CCSpriteSheet in proper way?