C# Class Pathfinding.Path

Afficher le fichier Open project: jgirald/ES2015F Class Usage Examples

Méthodes publiques

Свойство Type Description
callback OnPathDelegate
duration float
enabledTags int
heuristic Heuristic
heuristicScale float
immediateCallback OnPathDelegate
nnConstraint NNConstraint
path List
searchIterations int
searchedNodes int
vectorPath List

Protected Properties

Свойство Type Description
currentR PathNode
hTarget Int3
hTargetNode GraphNode
hasBeenReset bool
internalTagPenalties int[]
manualTagPenalties int[]
maxFrameTime float

Méthodes publiques

Méthode Description
AdvanceState ( ) : void
AdvanceState ( PathState s ) : void
CalculateHScore ( GraphNode node ) : uint
CalculateStep ( long targetTick ) : void
CanTraverse ( GraphNode node ) : bool
Claim ( System o ) : void
Cleanup ( ) : void
DebugString ( PathLog logMode ) : string
Error ( ) : void
ForceLogError ( string msg ) : void
GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
GetHTarget ( ) : Int3
GetState ( ) : PathState
GetTagPenalty ( int tag ) : uint
GetTotalLength ( ) : float
GetTraversalCost ( GraphNode node ) : uint
Initialize ( ) : void
IsDone ( ) : bool
Log ( string msg ) : void
OnEnterPool ( ) : void
Prepare ( ) : void
PrepareBase ( PathHandler pathHandler ) : void
Release ( System o ) : void
ReleaseSilent ( System o ) : void
Reset ( ) : void
ReturnPath ( ) : void
WaitForPath ( ) : IEnumerator

Méthodes protégées

Méthode Description
HasExceededTime ( int searchedNodes, long targetTime ) : bool
Recycle ( ) : void
Trace ( PathNode from ) : void

Private Methods

Méthode Description
ErrorCheck ( ) : void
LogError ( string msg ) : void

Method Details

AdvanceState() public méthode

public AdvanceState ( ) : void
Résultat void

AdvanceState() public méthode

public AdvanceState ( PathState s ) : void
s PathState
Résultat void

CalculateHScore() public méthode

public CalculateHScore ( GraphNode node ) : uint
node GraphNode
Résultat uint

CalculateStep() public abstract méthode

public abstract CalculateStep ( long targetTick ) : void
targetTick long
Résultat void

CanTraverse() public méthode

public CanTraverse ( GraphNode node ) : bool
node GraphNode
Résultat bool

Claim() public méthode

public Claim ( System o ) : void
o System
Résultat void

Cleanup() public méthode

public Cleanup ( ) : void
Résultat void

DebugString() public méthode

public DebugString ( PathLog logMode ) : string
logMode PathLog
Résultat string

Error() public méthode

public Error ( ) : void
Résultat void

ForceLogError() public méthode

public ForceLogError ( string msg ) : void
msg string
Résultat void

GetConnectionSpecialCost() public méthode

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
Résultat uint

GetHTarget() public méthode

public GetHTarget ( ) : Int3
Résultat Int3

GetState() public méthode

public GetState ( ) : PathState
Résultat PathState

GetTagPenalty() public méthode

public GetTagPenalty ( int tag ) : uint
tag int
Résultat uint

GetTotalLength() public méthode

public GetTotalLength ( ) : float
Résultat float

GetTraversalCost() public méthode

public GetTraversalCost ( GraphNode node ) : uint
node GraphNode
Résultat uint

HasExceededTime() protected méthode

protected HasExceededTime ( int searchedNodes, long targetTime ) : bool
searchedNodes int
targetTime long
Résultat bool

Initialize() public abstract méthode

public abstract Initialize ( ) : void
Résultat void

IsDone() public méthode

public IsDone ( ) : bool
Résultat bool

Log() public méthode

public Log ( string msg ) : void
msg string
Résultat void

OnEnterPool() public méthode

public OnEnterPool ( ) : void
Résultat void

Prepare() public abstract méthode

public abstract Prepare ( ) : void
Résultat void

PrepareBase() public méthode

public PrepareBase ( PathHandler pathHandler ) : void
pathHandler PathHandler
Résultat void

Recycle() protected abstract méthode

protected abstract Recycle ( ) : void
Résultat void

Release() public méthode

public Release ( System o ) : void
o System
Résultat void

ReleaseSilent() public méthode

public ReleaseSilent ( System o ) : void
o System
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ReturnPath() public méthode

public ReturnPath ( ) : void
Résultat void

Trace() protected méthode

protected Trace ( PathNode from ) : void
from PathNode
Résultat void

WaitForPath() public méthode

public WaitForPath ( ) : IEnumerator
Résultat IEnumerator

Property Details

callback public_oe property

public OnPathDelegate callback
Résultat OnPathDelegate

currentR protected_oe property

protected PathNode currentR
Résultat PathNode

duration public_oe property

public float duration
Résultat float

enabledTags public_oe property

public int enabledTags
Résultat int

hTarget protected_oe property

protected Int3 hTarget
Résultat Int3

hTargetNode protected_oe property

protected GraphNode hTargetNode
Résultat GraphNode

hasBeenReset protected_oe property

protected bool hasBeenReset
Résultat bool

heuristic public_oe property

public Heuristic heuristic
Résultat Heuristic

heuristicScale public_oe property

public float heuristicScale
Résultat float

immediateCallback public_oe property

public OnPathDelegate immediateCallback
Résultat OnPathDelegate

internalTagPenalties protected_oe property

protected int[] internalTagPenalties
Résultat int[]

manualTagPenalties protected_oe property

protected int[] manualTagPenalties
Résultat int[]

maxFrameTime protected_oe property

protected float maxFrameTime
Résultat float

nnConstraint public_oe property

public NNConstraint nnConstraint
Résultat NNConstraint

path public_oe property

public List path
Résultat List

searchIterations public_oe property

public int searchIterations
Résultat int

searchedNodes public_oe property

public int searchedNodes
Résultat int

vectorPath public_oe property

public List vectorPath
Résultat List