Table of Contents

Class StandardPather

Namespace
Global
Assembly
Assembly-CSharp.dll
public class StandardPather : PathFinder
Inheritance
StandardPather
Derived
Inherited Members

Constructors

StandardPather(ArtificialIntelligence, World, AbstractCreature)

public StandardPather(ArtificialIntelligence AI, World world, AbstractCreature creature)

Parameters

AI ArtificialIntelligence
world World
creature AbstractCreature

Fields

heuristicCostFac

public float heuristicCostFac

Field Value

float

heuristicDestFac

public float heuristicDestFac

Field Value

float

numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits

public int numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits

Field Value

int

pastConnections

public List<MovementConnection> pastConnections

Field Value

List<MovementConnection>

s

public int s

Field Value

int

Properties

savedPastConnections

public int savedPastConnections { get; set; }

Property Value

int

Methods

ConnectionAlreadyFollowedSeveralTimes(MovementConnection)

public bool ConnectionAlreadyFollowedSeveralTimes(MovementConnection connection)

Parameters

connection MovementConnection

Returns

bool

FollowPath(WorldCoordinate, bool)

public MovementConnection FollowPath(WorldCoordinate originPos, bool actuallyFollowingThisPath)

Parameters

originPos WorldCoordinate
actuallyFollowingThisPath bool

Returns

MovementConnection

HeuristicForCell(PathingCell, PathCost)

public override PathCost HeuristicForCell(PathFinder.PathingCell cell, PathCost costToGoal)

Parameters

cell PathFinder.PathingCell
costToGoal PathCost

Returns

PathCost