C# Class lab.AFlowNode

Inheritance: ANode
显示文件 Open project: marekdaniluk/lab Class Usage Examples

Public Methods

Method Description
AddNode ( ANode node ) : bool

Adds new node as a child.

GetNode ( int i ) : ANode

Gets child node at index.

RemoveNode ( ANode node ) : bool

Removes child node.

Method Details

AddNode() public abstract method

Adds new node as a child.
public abstract AddNode ( ANode node ) : bool
node ANode Node to be added as child.
return bool

GetNode() public abstract method

Gets child node at index.
public abstract GetNode ( int i ) : ANode
i int Index of child node to get.
return ANode

RemoveNode() public abstract method

Removes child node.
public abstract RemoveNode ( ANode node ) : bool
node ANode Child node to remove.
return bool