/// Build map using provided random number generator
Build map using provided random number generator
Build map using provided random number generator
pub fn build_with_rng(&mut self, rng: &mut StdRng) -> Map {
        let mut map = Map::new(self.width, self.height);
        // Build additional layers in turn
        for modifier in self.modifiers.iter() {
            map = modifier.modify_map(rng, &map);
        }
        map
    }
pub fn build_with_rng ( & mut self , rng : & mut StdRng ) -> Map { let mut map = Map :: new ( self . width , self . height ) ; // Build additional layers in turn for modifier in self . modifiers . iter ( ) { map = modifier . modify_map ( rng , & map ) ; } map }
Build map using provided random number generator
Build map using provided random number generator
&mut self
rng
&mut StdRng