Fixed doc

This commit is contained in:
klangner 2020-09-15 07:39:51 +02:00
parent 16955e02da
commit 113c1837df

View File

@ -63,7 +63,7 @@ use mapgen::dungeon::{
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(CullUnreachable::new())
.build_map();