C# Class Danmaku_no_Kyojin.BulletEngine.Equationator.FunctionNode

Inheritance: BaseNode
Exibir arquivo Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FunctionNode ( ) : System

Initializes a new instance of the Equationator.FunctionNode class.

Solve ( ParamDelegate paramCallback ) : float

Solve the equation! This method recurses into the whole tree and returns a result from the equation.

Protected Methods

Method Description
ParseToken ( List tokenList, int &curIndex, Equation owner ) : void

Parse the specified tokenList and curIndex. overloaded by child types to do there own specific parsing.

Method Details

FunctionNode() public method

Initializes a new instance of the Equationator.FunctionNode class.
public FunctionNode ( ) : System
return System

ParseToken() protected method

Parse the specified tokenList and curIndex. overloaded by child types to do there own specific parsing.
protected ParseToken ( List tokenList, int &curIndex, Equation owner ) : void
tokenList List Token list.
curIndex int Current index.
owner Equation the equation that this node is part of. required to pull function delegates out of the dictionary
return void

Solve() public method

Solve the equation! This method recurses into the whole tree and returns a result from the equation.
public Solve ( ParamDelegate paramCallback ) : float
paramCallback ParamDelegate Parameter callback that will be used to get teh values of parameter nodes.
return float