CCActionManager* sharedManager = [CCActionManager sharedManager];
CCDirector* sharedDirector = [CCDirector sharedDirector];
CCSpriteFrameCache* sharedCache = [CCSpriteFrameCache sharedSpriteFrameCache];CCTextureCache* sharedTexCache = [CCTextureCache sharedTextureCache];CCTouchDispatcher* sharedDispatcher = [CCTouchDispatcher sharedDispatcher];CDAudioManager* sharedManager = [CDAudioManager sharedManager];SimpleAudioEngine* sharedEngine = [SimpleAudioEngine sharedEngine];
cocos2d 单例
最新推荐文章于 2016-12-05 19:14:07 发布