cocos2d/cocos2d-x — pull request #3192 by ricardoquesada (2013-07-18 23:33:43+00:00)
Title: More best practices fixes

- class order fixes
- static methods (creators) at the beginning
- then constructors / destructors
- then init
- more `const` fixes
- adds some const getters
- some getters have 2 versions: `const` and no-const version
- renamed CocosDenshion::sharedEngine -> getInstance()