Table of Contents

Class QuickPathFinder

Namespace
Global
Assembly
Assembly-CSharp.dll
public class QuickPathFinder
Inheritance
QuickPathFinder
Inherited Members

Constructors

QuickPathFinder(IntVector2, IntVector2, AImap, CreatureTemplate)

public QuickPathFinder(IntVector2 start, IntVector2 goal, AImap map, CreatureTemplate creatureType)

Parameters

start IntVector2
goal IntVector2
map AImap
creatureType CreatureTemplate

Fields

checkedNodes

public int[] checkedNodes

Field Value

int[]

creatureType

public CreatureTemplate creatureType

Field Value

CreatureTemplate

goal

public IntVector2 goal

Field Value

IntVector2

map

public AImap map

Field Value

AImap

nodeHeap

public QuickPathFinder.MinHeap nodeHeap

Field Value

QuickPathFinder.MinHeap

path

public List<IntVector2> path

Field Value

List<IntVector2>

pathCost

public PathCost pathCost

Field Value

PathCost

pathLength

public int pathLength

Field Value

int

start

public IntVector2 start

Field Value

IntVector2

startFound

public bool startFound

Field Value

bool

status

public int status

Field Value

int

walker

public QuickPathFinder.PathNode walker

Field Value

QuickPathFinder.PathNode

Methods

AddHeuresticForTile(IntVector2, PathCost)

public PathCost AddHeuresticForTile(IntVector2 tl, PathCost distanceToGoal)

Parameters

tl IntVector2
distanceToGoal PathCost

Returns

PathCost

IsNodeClosed(IntVector2)

public bool IsNodeClosed(IntVector2 tl)

Parameters

tl IntVector2

Returns

bool

IsNodePreviouslyChecked(IntVector2)

public bool IsNodePreviouslyChecked(IntVector2 tl)

Parameters

tl IntVector2

Returns

bool

MarkNodeAsChecked(IntVector2)

public void MarkNodeAsChecked(IntVector2 tl)

Parameters

tl IntVector2

MarkNodeAsClosed(IntVector2)

public void MarkNodeAsClosed(IntVector2 tl)

Parameters

tl IntVector2

ReturnPath()

public QuickPath ReturnPath()

Returns

QuickPath

Update()

public void Update()