using namespace cocos2d, othersize class in cocos2d would be undefined