I think we should put `{` in a new line to follow cocos2d-x coding style: https://github.com/cocos2d/cocos2d-x/blob/develop/docs/CODING_STYLE.md.

Thanks.