pub fn with_seed(seed: u64) -> Self {
        let mut terrain_rng = seeded_rng(seed, 0, ());
        let mut plant_rng = seeded_rng(seed, 1, ());
        let mut temperature_rng = seeded_rng(seed, 2, ());
        let mut humidity_rng = seeded_rng(seed, 3, ());

        WorldGenerator {
            seed: seed,
            terrain_table: PermutationTable::rand(&mut terrain_rng),
            plant_table: PermutationTable::rand(&mut plant_rng),
            temperature_table: PermutationTable::rand(&mut temperature_rng),
            humidity_table: PermutationTable::rand(&mut humidity_rng),
        }
    }
/// Creates the generator with the given seed.
Creates the generator with the given seed.
Creates the generator with the given seed .
pub fn with_seed(seed: u64) -> Self {
        let mut terrain_rng = seeded_rng(seed, 0, ());
        let mut plant_rng = seeded_rng(seed, 1, ());
        let mut temperature_rng = seeded_rng(seed, 2, ());
        let mut humidity_rng = seeded_rng(seed, 3, ());
        WorldGenerator {
            seed: seed,
            terrain_table: PermutationTable::rand(&mut terrain_rng),
            plant_table: PermutationTable::rand(&mut plant_rng),
            temperature_table: PermutationTable::rand(&mut temperature_rng),
            humidity_table: PermutationTable::rand(&mut humidity_rng),
        }
    }
pub fn with_seed ( seed : u64 ) -> Self { let mut terrain_rng = seeded_rng ( seed , 0 , ( ) ) ; let mut plant_rng = seeded_rng ( seed , 1 , ( ) ) ; let mut temperature_rng = seeded_rng ( seed , 2 , ( ) ) ; let mut humidity_rng = seeded_rng ( seed , 3 , ( ) ) ; WorldGenerator { seed : seed , terrain_table : PermutationTable :: rand ( & mut terrain_rng ) , plant_table : PermutationTable :: rand ( & mut plant_rng ) , temperature_table : PermutationTable :: rand ( & mut temperature_rng ) , humidity_table : PermutationTable :: rand ( & mut humidity_rng ) , } }
Creates the generator with the given seed.
Creates the generator with the given seed .
seed
u64