I have a class named MySprite which inherent Sprite and adds a bunch of properties to it.
Created a Factory class called createMySprite which calls
MySprite* theSprite = MySprite::create(“image.png”);
so I can continue to initialize theSprite.
I receive an error: *a value of type "cocos2d::Sprite * cannot be used to initialize an entity of type "MySprite "
What am I doing wrong ?