CastEngine implemented on Cocos2d-x engine