The Footprint Of Cocos2d-x [三] ---- cocos2d之基础知识(Accelerometer, action,Menu)
加速计UIAcceleration,菜单menu,动作action加速计启动加速计事件并通过delegate去处理事件self.isAccelerometerEnabled=YES;-(void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration{}菜单Menu:CCMe