cocos2d-x c++ code style