C# Class Pathfinding.FloodPath

Inheritance: Path
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
originalStartPoint Vector3
startNode GraphNode
startPoint Vector3

Protected Properties

Property Type Description
parents GraphNode>.Dictionary

Public Methods

Method Description
CalculateStep ( long targetTick ) : void
Construct ( Vector3 start, OnPathDelegate callback = null ) : FloodPath
FloodPath ( ) : System
GetParent ( GraphNode node ) : GraphNode
HasPathTo ( GraphNode node ) : bool
Initialize ( ) : void
Prepare ( ) : void
Reset ( ) : void

Protected Methods

Method Description
Recycle ( ) : void
Setup ( Vector3 start, OnPathDelegate callback ) : void

Private Methods

Method Description
FloodPath ( Vector3 start, OnPathDelegate callbackDelegate ) : System

Method Details

CalculateStep() public method

public CalculateStep ( long targetTick ) : void
targetTick long
return void

Construct() public static method

public static Construct ( Vector3 start, OnPathDelegate callback = null ) : FloodPath
start Vector3
callback OnPathDelegate
return FloodPath

FloodPath() public method

public FloodPath ( ) : System
return System

GetParent() public method

public GetParent ( GraphNode node ) : GraphNode
node GraphNode
return GraphNode

HasPathTo() public method

public HasPathTo ( GraphNode node ) : bool
node GraphNode
return bool

Initialize() public method

public Initialize ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

Recycle() protected method

protected Recycle ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Setup() protected method

protected Setup ( Vector3 start, OnPathDelegate callback ) : void
start Vector3
callback OnPathDelegate
return void

Property Details

originalStartPoint public_oe property

public Vector3 originalStartPoint
return Vector3

parents protected_oe property

protected Dictionary parents
return GraphNode>.Dictionary

startNode public_oe property

public GraphNode,Pathfinding startNode
return GraphNode

startPoint public_oe property

public Vector3 startPoint
return Vector3