Table of Contents

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

AI ArtificialIntelligence
world World
creature AbstractCreature

Fields

numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits

public int numnerOfTimesConnectionHasToHaveBeenFollowedToBeOffLimits

Field Value

int

pastConnections

public List<MovementConnection> pastConnections

Field Value

List<MovementConnection>

s

public int s

Field Value

int

Properties

bird

public MirosBird bird { get; }

Property Value

MirosBird

savedPastConnections

public int savedPastConnections { get; set; }

Property Value

int

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

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