cocos2dで作るiPhone&iPadゲームプログラミング3章 cocos2dには以下のシングルトンクラスがよく使われている CCActionManager* sharedManager = [CCActionManager sharedManager]; CCDirector* sharedDirector = [CCDirector sharedDirector]; CCSpriteFrameCache* sharedCache = [CCSpriteFrameCache sharedSpriteFrameCache]; CCTextureCache* sharedTexCache = [CCTextureCache sharedTextureCache]; CCTouchDispatcher* sharedDispatcher = [CCTouchDispatcher share
![cocos2dの基礎 ノード、シーン、レイヤ、アクション - プログラミングの魔物](https://cdn-ak-scissors.b.st-hatena.com/image/square/7155a331131303cf2ba4095378c8b9f7a30ddec9/height=288;version=1;width=512/http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51gwqeWV-FL.jpg)