Table of Contents

Class DeerPather

Namespace
Global
Assembly
Assembly-CSharp.dll
public class DeerPather : BorderExitPather
Inheritance
DeerPather
Inherited Members

Constructors

DeerPather(ArtificialIntelligence, World, AbstractCreature)

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

Parameters

AI ArtificialIntelligence
world World
creature AbstractCreature

Properties

deer

public Deer deer { get; }

Property Value

Deer

Methods

CheckConnectionCost(PathingCell, PathingCell, MovementConnection, bool)

public override PathCost CheckConnectionCost(PathFinder.PathingCell start, PathFinder.PathingCell goal, MovementConnection connection, bool followingPath)

Parameters

start PathFinder.PathingCell
goal PathFinder.PathingCell
connection MovementConnection
followingPath bool

Returns

PathCost

ConnectionAlreadyFollowedSeveralTimes(MovementConnection)

public bool ConnectionAlreadyFollowedSeveralTimes(MovementConnection connection)

Parameters

connection MovementConnection

Returns

bool

DestinationHasChanged(WorldCoordinate, WorldCoordinate)

public override void DestinationHasChanged(WorldCoordinate oldDestination, WorldCoordinate newDestination)

Parameters

oldDestination WorldCoordinate
newDestination WorldCoordinate

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

Update()

public override void Update()