Fixed doc
This commit is contained in:
parent
16955e02da
commit
113c1837df
|
@ -63,7 +63,7 @@ use mapgen::dungeon::{
|
||||||
cull_unreachable::CullUnreachable,
|
cull_unreachable::CullUnreachable,
|
||||||
};
|
};
|
||||||
|
|
||||||
let map = MapBuilder::new(Box::new(CellularAutomataGen::new(80, 50)))
|
let map = MapBuilder::new(CellularAutomataGen::new(80, 50))
|
||||||
.with(AreaStartingPosition::new(XStart::CENTER, YStart::CENTER))
|
.with(AreaStartingPosition::new(XStart::CENTER, YStart::CENTER))
|
||||||
.with(CullUnreachable::new())
|
.with(CullUnreachable::new())
|
||||||
.build_map();
|
.build_map();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user