Class AreaGraphBuilder
Builder to create connected area graphs of lists of areas.
Inheritance
System.Object
AreaGraphBuilder
Namespace: InsaneScatterbrain.MapGraph
Syntax
public class AreaGraphBuilder : object
Constructors
AreaGraphBuilder()
Declaration
public AreaGraphBuilder()
AreaGraphBuilder(Func<AreaGraphEdge>)
Declaration
public AreaGraphBuilder(Func<AreaGraphEdge> newEdge)
Parameters
Type | Name | Description |
---|---|---|
Func<AreaGraphEdge> | newEdge |
Methods
BuildGraph(IList<Area>, AreaGraph)
Builds a connected area graph from a list of areas.
Declaration
public void BuildGraph(IList<Area> areas, AreaGraph graph)
Parameters
Type | Name | Description |
---|---|---|
IList<Area> | areas | The areas. |
AreaGraph | graph | The graph. |