A* Pathfinding Project  4.1.9
The A* Pathfinding Project for Unity 3D
CooperativeContext.CooperativePathData Class Reference

Public Member Functions

 CooperativePathData (GraphNode node, int id)
 
void Clear ()
 
void CopyTo (CooperativePathData other)
 
void ReplaceFutureWithNode (int fromTick, GraphNode node)
 Replaces the path from fromTick and forwards with the single node node. More...
 
void ReplaceFutureWithPath (CooperativeABPath newPath)
 Replaces the part of this path with the new path from the point in time when the new path starts. More...
 

Public Attributes

GraphNode endNode
 
int id
 
readonly List< GraphNodepath
 
bool reserved
 
int startTick
 
int version
 

Constructor & Destructor Documentation

◆ CooperativePathData()

CooperativePathData ( GraphNode  node,
int  id 
)

Member Function Documentation

◆ Clear()

void Clear ( )

◆ CopyTo()

void CopyTo ( CooperativePathData  other)

◆ ReplaceFutureWithNode()

void ReplaceFutureWithNode ( int  fromTick,
GraphNode  node 
)

Replaces the path from fromTick and forwards with the single node node.

◆ ReplaceFutureWithPath()

void ReplaceFutureWithPath ( CooperativeABPath  newPath)

Replaces the part of this path with the new path from the point in time when the new path starts.

Member Data Documentation

◆ endNode

GraphNode endNode

◆ id

int id

◆ path

readonly List<GraphNode> path

◆ reserved

bool reserved

◆ startTick

int startTick

◆ version

int version

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