C# Class PathGenerator, RTSControls

Inheritance: MonoBehaviour
Datei anzeigen Open project: ZachHoefler/RTSControls Class Usage Examples

Public Properties

Property Type Description
gridGenerator CollisionGridGenerator

Public Methods

Method Description
FindPath ( Vector3 startPos, Vector3 endPos ) : Path,

Private Methods

Method Description
CalcDist ( Vector3 a, Vector3 b ) : float
GetLowestFScore ( List openSet, float>.Dictionary fScores ) : Vector3
GetNeigbors ( Vector3 currentNode ) : List
GuessDistanceHeuristic ( Vector3 startPos, Vector3 endPos ) : float
PlaceholderPath ( Vector3 startPos, Vector3 endPos ) : Path,
ReconstructPath ( Vector3>.Dictionary cameFrom, Vector3 currentNode ) : Path,

Method Details

FindPath() public method

public FindPath ( Vector3 startPos, Vector3 endPos ) : Path,
startPos Vector3
endPos Vector3
return Path,

Property Details

gridGenerator public_oe property

public CollisionGridGenerator gridGenerator
return CollisionGridGenerator