refine code according to quick-cocos2d-x, use `import`.