Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CCSprite *pobSprite = new CCSprite();
- if (pobSprite && pobSprite->initWithFile(pszFileName))
- {
- pobSprite->autorelease();
- return pobSprite;
- }
- CC_SAFE_DELETE(pobSprite);
- return NULL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement