Struct PlatformerGraphBuilder.ProtoEdge
Prototype of an edge.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: AnyPath.Graphs
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public struct ProtoEdge
Constructors
| Improve this Doc View SourceProtoEdge(Int32, Int32, Single, Int32, Boolean)
Declaration
public ProtoEdge(int a, int b, float enterCost, int flags, bool directed = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | a | |
System.Int32 | b | |
System.Single | enterCost | |
System.Int32 | flags | |
System.Boolean | directed |
Fields
| Improve this Doc View Sourcea
Id of node A
Declaration
public readonly int a
Field Value
Type | Description |
---|---|
System.Int32 |
b
Id of node B
Declaration
public readonly int b
Field Value
Type | Description |
---|---|
System.Int32 |
directed
Is the edge directed? That is, does it only go from A to B.
Declaration
public readonly bool directed
Field Value
Type | Description |
---|---|
System.Boolean |
enterCost
Extra cost associated with this edge
Declaration
public readonly float enterCost
Field Value
Type | Description |
---|---|
System.Single |
flags
Flags associated with this edge
Declaration
public readonly int flags
Field Value
Type | Description |
---|---|
System.Int32 |