Add power connection and steiner tree
This commit is contained in:
parent
8f163269bd
commit
af625cf905
7 changed files with 339 additions and 10 deletions
|
|
@ -533,10 +533,12 @@ pub fn generate_factory<L: Layouter, P: Pathfinder + Sync, R: Rng + SeedableRng
|
|||
|
||||
b.transform(Transformation::new(
|
||||
Direction::Up,
|
||||
Position::new(multistation_x_offset, multistation_y_offset - 2),
|
||||
Position::new(multistation_x_offset + 1, multistation_y_offset - 2 + 1),
|
||||
));
|
||||
|
||||
b.add_blueprint(multistation_blueprint);
|
||||
|
||||
b.connect_power_networks();
|
||||
|
||||
b
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue