C# Класс Danmaku_no_Kyojin.BulletEngine.Equationator.ParamNode

This node evaluates to a paramter that is passed into the equation at solve time
Наследование: BaseNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ParamNode ( ) : System

Initializes a new instance of the Equationator.ParamNode class.

Solve ( ParamDelegate paramCallback ) : float

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

Защищенные методы

Метод Описание
ParseToken ( List tokenList, int &curIndex, Equation owner ) : void

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

Описание методов

ParamNode() публичный Метод

Initializes a new instance of the Equationator.ParamNode class.
public ParamNode ( ) : System
Результат System

ParseToken() защищенный Метод

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
Результат void

Solve() публичный Метод

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.
Результат float