Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.PathNode Class Reference

Public Member Functions

override string ToString ()
 
 PathNode (WayPoint wayPoint)
 
bool IsBlocked ()
 
void ResetBlocked ()
 

Static Public Member Functions

static List< PathNodeGenerateNodes (List< WayPoint > wayPoints, bool removeOrphans)
 

Public Attributes

int state
 
PathNode Parent
 
float F
 
float G
 
float H
 
readonly List< PathNodeconnections = new List<PathNode>()
 
List< float > distances
 
Vector2 TempPosition
 
float TempDistance
 
readonly WayPoint Waypoint
 
readonly Vector2 Position
 
readonly int WayPointID
 

Constructor & Destructor Documentation

◆ PathNode()

Barotrauma.PathNode.PathNode ( WayPoint wayPoint)

Member Function Documentation

◆ GenerateNodes()

static List< PathNode > Barotrauma.PathNode.GenerateNodes ( List< WayPoint > wayPoints,
bool removeOrphans )
static

◆ IsBlocked()

bool Barotrauma.PathNode.IsBlocked ( )

◆ ResetBlocked()

void Barotrauma.PathNode.ResetBlocked ( )

◆ ToString()

override string Barotrauma.PathNode.ToString ( )

Member Data Documentation

◆ connections

readonly List<PathNode> Barotrauma.PathNode.connections = new List<PathNode>()

◆ distances

List<float> Barotrauma.PathNode.distances

◆ F

float Barotrauma.PathNode.F

◆ G

float Barotrauma.PathNode.G

◆ H

float Barotrauma.PathNode.H

◆ Parent

PathNode Barotrauma.PathNode.Parent

◆ Position

readonly Vector2 Barotrauma.PathNode.Position

◆ state

int Barotrauma.PathNode.state

◆ TempDistance

float Barotrauma.PathNode.TempDistance

◆ TempPosition

Vector2 Barotrauma.PathNode.TempPosition

◆ Waypoint

readonly WayPoint Barotrauma.PathNode.Waypoint

◆ WayPointID

readonly int Barotrauma.PathNode.WayPointID

The documentation for this class was generated from the following file: