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
AIArtificialIntelligenceworldWorldcreatureAbstractCreature
Properties
deer
public Deer deer { get; }
Property Value
Methods
CheckConnectionCost(PathingCell, PathingCell, MovementConnection, bool)
public override PathCost CheckConnectionCost(PathFinder.PathingCell start, PathFinder.PathingCell goal, MovementConnection connection, bool followingPath)
Parameters
startPathFinder.PathingCellgoalPathFinder.PathingCellconnectionMovementConnectionfollowingPathbool
Returns
ConnectionAlreadyFollowedSeveralTimes(MovementConnection)
public bool ConnectionAlreadyFollowedSeveralTimes(MovementConnection connection)
Parameters
connectionMovementConnection
Returns
DestinationHasChanged(WorldCoordinate, WorldCoordinate)
public override void DestinationHasChanged(WorldCoordinate oldDestination, WorldCoordinate newDestination)
Parameters
oldDestinationWorldCoordinatenewDestinationWorldCoordinate
FollowPath(WorldCoordinate, bool)
public MovementConnection FollowPath(WorldCoordinate originPos, bool actuallyFollowingThisPath)
Parameters
originPosWorldCoordinateactuallyFollowingThisPathbool
Returns
HeuristicForCell(PathingCell, PathCost)
public override PathCost HeuristicForCell(PathFinder.PathingCell cell, PathCost costToGoal)
Parameters
cellPathFinder.PathingCellcostToGoalPathCost
Returns
Update()
public override void Update()