programing in cocos2d-x 3.0