ActionNode* Engine::CreateActionNode(string name) { for (map<string, Strategy*>::iterator i = strategies.begin(); i != strategies.end(); i++) { Strategy* strategy = i->second; ActionNode* node = strategy->GetAction(name); if (node) return node; } return new ActionNode (name, /*P*/ NULL, /*A*/ NULL, /*C*/ NULL); }