Improved README example

This commit is contained in:
klangner 2020-11-03 09:24:33 +01:00
parent 569d751031
commit a14aaee0a7

View File

@ -67,6 +67,8 @@ let map = MapBuilder::new(80, 50)
.with(NoiseGenerator::uniform()) .with(NoiseGenerator::uniform())
.with(CellularAutomata::new()) .with(CellularAutomata::new())
.with(AreaStartingPosition::new(XStart::CENTER, YStart::CENTER)) .with(AreaStartingPosition::new(XStart::CENTER, YStart::CENTER))
.with(CullUnreachable::new())
.with(DistantExit::new())
.build(); .build();
``` ```