public void spawn_building(BuildingLot building_lot) { Building building = get_city_building(); building_lot.set_building(building); building.building_id = building_id; building.building_type = city_type; building.building_orientation = building_lot.orientation; building.offset_position = building_lot.origin_tile; building.max_capacity = building_lot.length; building.person_grid = new GameObject[building_lot.length]; building.city = this; building.building_lot = building_lot; city_building_list.Add(building); }