change NodeCache to NodeReader

This commit is contained in:
2youyou2 2014-06-12 19:34:22 +08:00
parent b2c5334de1
commit f63939945d
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ void TimelineActionTestLayer::onExit()
backItem = restartItem = nextItem = nullptr;
TimelineActionCache::getInstance()->purge();
NodeCache::getInstance()->purge();
NodeReader::getInstance()->purge();
Layer::onExit();
}
@ -182,7 +182,7 @@ void TestTimelineAction::onEnter()
{
TimelineActionTestLayer::onEnter();
Node* node = NodeCache::getInstance()->createNode("TimelineAction/boy_1.ExportJson");
Node* node = NodeReader::getInstance()->createNode("TimelineAction/boy_1.ExportJson");
TimelineAction* action = TimelineActionCache::getInstance()->createAction("TimelineAction/boy_1.ExportJson");
node->runAction(action);