Polygon Dash
Loading...
Searching...
No Matches
DFS Class Reference

A depth-first-search traversal algorithm. More...

Inheritance diagram for DFS:
ITraversalAlgorithm

Public Member Functions

void Traverse (SceneNode node, void delegate(SceneNode) operation)
 Traverse through a tree using DFS.
 
- Public Member Functions inherited from ITraversalAlgorithm

Detailed Description

A depth-first-search traversal algorithm.

See also
ITraversalAlgorithm

Member Function Documentation

◆ Traverse()

void DFS::Traverse ( SceneNode node,
void delegate(SceneNode) operation )
inline

Traverse through a tree using DFS.

Parameters
nodethe root node.
operationthe operation to perform at each node.

Implements ITraversalAlgorithm.


The documentation for this class was generated from the following file: