add doc for inheritance in cocos2d-js 3.0