Generators for Cocos2d-x