engine/XML/custom_maps/source/XMLMapExitReader.cpp
// Parse the list of exits on the map
Parse the list of exits on the map
Parse the list of exits on the map
void XMLMapExitReader::parse_exits(const XMLNode& exits_node, MapPtr map)
{
  if (!exits_node.is_null())
  {
    vector<XMLNode> exit_nodes = XMLUtils::get_elements_by_local_name(exits_node, "Exit");
    for (const XMLNode& node : exit_nodes)
    {
      parse_exit(node, map);
    }
  }
}
void XMLMapExitReader :: parse_exits ( const XMLNode & exits_node , MapPtr map ) { if ( ! exits_node . is_null ( ) ) { vector < XMLNode > exit_nodes = XMLUtils :: get_elements_by_local_name ( exits_node , " " ) ; for ( const XMLNode & node : exit_nodes ) { parse_exit ( node , map ) ; } } }
Parse the list of exits on the map
Parse the list of exits on the map