cocos2d 单例

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 单例)