rpgtools/map/route.rs
1/// How paths are placed
2#[derive(Debug)]
3pub enum RouteMethod {
4 /// Manhattan routing; horizontal direction first.
5 HorizontalFirst,
6 /// Manhattan routing; vertical direction first.
7 VerticalFirst,
8 // Straight-line/diagonal routing
9 //Direct,
10 /// Split route into horizontal and vertical components and do them one at a time.
11 Manhattan,
12 // Subway-map style: allows routes at 0 degrees, 90 degrees and 45 degrees.
13 //Subway,
14}