issue #2462:use cocos2d-x c++ style
Merge pull request #3399 from minggo/iss2462-_best_cpp_practice

use cocos2d-x c++ style