Interface INodeFactory
Interface for node factories.
Namespace: Fibula.Common.Utilities.Pathfinding
Assembly: Fibula.Common.Utilities.dll
Syntax
public interface INodeFactory
Methods
| Improve this Doc View SourceCreate(ISearchContext, INodeCreationArguments)
Creates a node with the given searchContext
, using the given nodeCreationData
.
Declaration
INode Create(ISearchContext searchContext, INodeCreationArguments nodeCreationData)
Parameters
Type | Name | Description |
---|---|---|
ISearchContext | searchContext | A reference to the context of the search this node takes place in. |
INodeCreationArguments | nodeCreationData | The node creation data. |
Returns
Type | Description |
---|---|
INode | An instance of a INode. |
OnSearchCompleted(String)
Method called when a search is completed, whatever the result is.
Declaration
void OnSearchCompleted(string searchId)
Parameters
Type | Name | Description |
---|---|---|
System.String | searchId | The search id. |