C# 클래스 Danmaku_no_Kyojin.BulletEngine.Equationator.NumberNode

This a node in the equation that holds a number.
상속: BaseNode
파일 보기 프로젝트 열기: Noxalus/Danmaku-no-Kyojin 1 사용 예제들

공개 메소드들

메소드 설명
NumberNode ( ) : System

Initializes a new instance of the Equationator.NumberNode 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.

메소드 상세

NumberNode() 공개 메소드

Initializes a new instance of the Equationator.NumberNode class.
public NumberNode ( ) : 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