Class AlwaysPassingNodeGuard
This is the easiest node guard ever
It always allows a transition
Inheritance
System.Object
AlwaysPassingNodeGuard
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Environments
Assembly: Mars.Components.dll
Syntax
public class AlwaysPassingNodeGuard : INodeGuard
Methods
| Improve this Doc View SourceAccessEdge(Int64, ISpatialEdge, ISpatialEdge)
This is the easiest node guard ever
It always allows a transition
Declaration
public bool AccessEdge(long tick, ISpatialEdge from, ISpatialEdge to)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | tick | |
ISpatialEdge | from | |
ISpatialEdge | to |
Returns
Type | Description |
---|---|
System.Boolean |
GetTrafficLightPhase(ISpatialEdge, ISpatialEdge)
This is the easiest node guard ever
It always allows a transition
Declaration
public TrafficLightPhase GetTrafficLightPhase(ISpatialEdge from, ISpatialEdge to)
Parameters
Type | Name | Description |
---|---|---|
ISpatialEdge | from | |
ISpatialEdge | to |
Returns
Type | Description |
---|---|
TrafficLightPhase |