here_be_dragons/examples/bsp_interior.rs
2020-10-17 18:02:50 +02:00

10 lines
224 B
Rust

use rand::prelude::*;
use mapgen::*;
fn main() {
let mut rng = StdRng::seed_from_u64(907647352);
let gen = BspInterior::new();
let map = gen.modify_map(&mut rng, &Map::new(20, 10));
println!("{:}", &map);
}