Initial attempt at road generation
This commit is contained in:
@ -84,6 +84,16 @@ namespace TransportGame.Model.Road
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes the road network
|
||||
/// </summary>
|
||||
public RoadNetwork()
|
||||
{
|
||||
Nodes = new Dictionary<int, RoadNode>();
|
||||
ArticulationSegments = new Dictionary<int,RoadSegment>();
|
||||
IntersectionSegments = new Dictionary<int,RoadSegment>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a node and returns it
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user