engine/generators/worship_sites/source/CathedralGenerator.cpp
// Generate a pair of fountains by the entrance.
Generate a pair of fountains by the entrance.
Generate a pair of fountains by the entrance .
void CathedralGenerator::generate_fountains(MapPtr map)
{
  TilePtr fountain_tile_1 = map->at(start_row+2, start_col+2);
  TilePtr fountain_tile_2 = map->at(start_row+church_height-3, start_col+2);
  FeaturePtr fountain_1 = FeatureGenerator::generate_fountain();
  FeaturePtr fountain_2 = FeatureGenerator::generate_fountain();
  fountain_tile_1->set_feature(fountain_1);
  fountain_tile_2->set_feature(fountain_2);
}
void CathedralGenerator :: generate_fountains ( MapPtr map ) { TilePtr fountain_tile_1 = map -> at ( start_row + 2 , start_col + 2 ) ; TilePtr fountain_tile_2 = map -> at ( start_row + church_height - 3 , start_col + 2 ) ; FeaturePtr fountain_1 = FeatureGenerator :: generate_fountain ( ) ; FeaturePtr fountain_2 = FeatureGenerator :: generate_fountain ( ) ; fountain_tile_1 -> set_feature ( fountain_1 ) ; fountain_tile_2 -> set_feature ( fountain_2 ) ; }
Generate a pair of fountains by the entrance.
Generate a pair of fountains by the entrance .