engine/generators/crypts/source/VaultCryptLayoutStrategy.cpp
// Create a central vault with creatures.
Create a central vault with creatures.
Create a central vault with creatures .
void VaultCryptLayoutStrategy::create_layout(MapPtr map, const tuple<Coordinate, Coordinate, Coordinate>& stair_loc_and_room_boundary)
{
  pair<Coordinate, Coordinate> vault_coords = generate_vault(map, stair_loc_and_room_boundary);
  VaultPopulator vp;
  vp.populate_vault(map, TileType::TILE_TYPE_CRYPT, vault_coords.first, vault_coords.second);
}
void VaultCryptLayoutStrategy :: create_layout ( MapPtr map , const tuple < Coordinate , Coordinate , Coordinate > & stair_loc_and_room_boundary ) { pair < Coordinate , Coordinate > vault_coords = generate_vault ( map , stair_loc_and_room_boundary ) ; VaultPopulator vp ; vp . populate_vault ( map , TileType :: TILE_TYPE_CRYPT , vault_coords . first , vault_coords . second ) ; }
Create a central vault with creatures.
Create a central vault with creatures .
// Fill the vault with creatures and items.