Table of Contents

Class AbstractSpaceNodeFinder

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

Constructors

AbstractSpaceNodeFinder(SearchingFor, FloodMethod, int, WorldCoordinate, CreatureTemplate, World, float)

public AbstractSpaceNodeFinder(AbstractSpaceNodeFinder.SearchingFor searchingFor, AbstractSpaceNodeFinder.FloodMethod floodMethod, int maxGenerations, WorldCoordinate pos, CreatureTemplate creatureType, World world, float randomFac)

Parameters

searchingFor AbstractSpaceNodeFinder.SearchingFor
floodMethod AbstractSpaceNodeFinder.FloodMethod
maxGenerations int
pos WorldCoordinate
creatureType CreatureTemplate
world World
randomFac float

Fields

alreadyChecked

public bool[,] alreadyChecked

Field Value

bool[,]

checkNextList

public List<AbstractSpaceNodeFinder.Node> checkNextList

Field Value

List<AbstractSpaceNodeFinder.Node>

creatureType

public CreatureTemplate creatureType

Field Value

CreatureTemplate

floodMethod

public AbstractSpaceNodeFinder.FloodMethod floodMethod

Field Value

AbstractSpaceNodeFinder.FloodMethod

generation

public int generation

Field Value

int

maxGenerations

public int maxGenerations

Field Value

int

path

public List<WorldCoordinate> path

Field Value

List<WorldCoordinate>

searchingFor

public AbstractSpaceNodeFinder.SearchingFor searchingFor

Field Value

AbstractSpaceNodeFinder.SearchingFor

startPos

public WorldCoordinate startPos

Field Value

WorldCoordinate

status

public AbstractSpaceNodeFinder.Status status

Field Value

AbstractSpaceNodeFinder.Status

walker

public AbstractSpaceNodeFinder.Node walker

Field Value

AbstractSpaceNodeFinder.Node

world

public World world

Field Value

World

Properties

finished

public bool finished { get; }

Property Value

bool

Methods

AddNode(WorldCoordinate, Node, float)

public void AddNode(WorldCoordinate pos, AbstractSpaceNodeFinder.Node parent, float cost)

Parameters

pos WorldCoordinate
parent AbstractSpaceNodeFinder.Node
cost float

IsNodeGoal(WorldCoordinate)

public bool IsNodeGoal(WorldCoordinate pos)

Parameters

pos WorldCoordinate

Returns

bool

ReturnPathToClosest()

public List<WorldCoordinate> ReturnPathToClosest()

Returns

List<WorldCoordinate>

Update()

public void Update()