Class MirosBirdPather
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class MirosBirdPather : PathFinder
- Inheritance
-
MirosBirdPather
- Inherited Members
Constructors
MirosBirdPather(ArtificialIntelligence, World, AbstractCreature)
public MirosBirdPather(ArtificialIntelligence AI, World world, AbstractCreature creature)
Parameters
AIArtificialIntelligenceworldWorldcreatureAbstractCreature
Fields
numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits
public int numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits
Field Value
pastConnections
public List<MovementConnection> pastConnections
Field Value
s
public int s
Field Value
Properties
bird
public MirosBird bird { get; }
Property Value
savedPastConnections
public int savedPastConnections { get; set; }
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
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