here_be_dragons/examples/bsp_interior.rs

10 lines
224 B
Rust
Raw Normal View History

2020-10-17 15:31:32 +00:00
use rand::prelude::*;
use mapgen::*;
fn main() {
let mut rng = StdRng::seed_from_u64(907647352);
let gen = BspInterior::new();
2020-10-17 16:02:50 +00:00
let map = gen.modify_map(&mut rng, &Map::new(20, 10));
2020-10-17 15:31:32 +00:00
println!("{:}", &map);
}