18 lines
684 B
Rust
18 lines
684 B
Rust
use super::{
|
|
AreaEndingPosition, AreaStartingPosition, BspInteriorBuilder, BuilderChain, CullUnreachable,
|
|
VoronoiSpawning, XEnd, XStart, YEnd, YStart,
|
|
};
|
|
|
|
pub fn dark_elf_city(new_depth: i32, width: i32, height: i32) -> BuilderChain {
|
|
let mut chain = BuilderChain::new(new_depth, width, height, "Dark Elven City");
|
|
chain
|
|
.start_with(BspInteriorBuilder::new())
|
|
.with(AreaStartingPosition::new(XStart::Center, YStart::Center))
|
|
.with(CullUnreachable::new())
|
|
.with(AreaStartingPosition::new(XStart::Right, YStart::Center))
|
|
.with(AreaEndingPosition::new(XEnd::Left, YEnd::Center))
|
|
.with(VoronoiSpawning::new());
|
|
|
|
chain
|
|
}
|