Class PlatformerGraphDrawer
Inheritance
PlatformerGraphDrawer
Assembly: AnyPath.dll
public class PlatformerGraphDrawer
Constructors
Declaration
public PlatformerGraphDrawer(float weldThreshold)
Parameters
Type |
Name |
Description |
float |
weldThreshold |
|
Properties
Declaration
public IReadOnlyList<PlatformerGraph.Edge> DirectedEdges { get; }
Property Value
Declaration
public IReadOnlyList<PlatformerGraph.Edge> UndirectedEdges { get; }
Property Value
Declaration
public IReadOnlyList<float2> Vertices { get; }
Property Value
Methods
Declaration
public void AddDirected(float2 from, float2 to)
Parameters
Type |
Name |
Description |
float2 |
from |
|
float2 |
to |
|
Declaration
public void AddDirected(float2 from, float2 to, float enterCost, int flags = 0)
Parameters
Type |
Name |
Description |
float2 |
from |
|
float2 |
to |
|
float |
enterCost |
|
int |
flags |
|
Declaration
public void AddUndirected(float2 from, float2 to)
Parameters
Type |
Name |
Description |
float2 |
from |
|
float2 |
to |
|
Declaration
public void AddUndirected(float2 from, float2 to, float enterCost, int flags = 0)
Parameters
Type |
Name |
Description |
float2 |
from |
|
float2 |
to |
|
float |
enterCost |
|
int |
flags |
|
Extension Methods