An Entity Component System Framework based on Cocos2d-x