engine/maps/source/MapExitUtils.cpp
// Add an exit to the map itself
Add an exit to the map itself
Add an exit to the map itself
MapExitPtr MapExitUtils::add_exit_to_map(MapPtr map, const string& map_exit_id)
{
  MapExitPtr map_exit = make_shared<MapExit>();
  map_exit->set_map_id(map_exit_id);
  map->set_map_exit(map_exit);
  return map_exit;
}
MapExitPtr MapExitUtils :: add_exit_to_map ( MapPtr map , const string & map_exit_id ) { MapExitPtr map_exit = make_shared < MapExit > ( ) ; map_exit -> set_map_id ( map_exit_id ) ; map -> set_map_exit ( map_exit ) ; return map_exit ; }
Add an exit to the map itself
Add an exit to the map itself