using namespace cocos2d in AnimationManager.cpp