C# 클래스 Progression.ProgressCalculators.ProgressCalcWeighted

상속: IProgressCalculator
파일 보기 프로젝트 열기: scottrippey/Progression

보호된 프로퍼티들

프로퍼티 타입 설명
StepWeights float[]

공개 메소드들

메소드 설명
CalculateProgress ( float stepProgress ) : float

Calculates the progress of this task.

NextStep ( ) : void

Advances the current progress task to the next step.

ProgressCalcWeighted ( float stepWeights ) : System.Diagnostics
ToString ( ) : string

메소드 상세

CalculateProgress() 공개 메소드

Calculates the progress of this task.
public CalculateProgress ( float stepProgress ) : float
stepProgress float The progress of nested steps
리턴 float

NextStep() 공개 메소드

Advances the current progress task to the next step.
public NextStep ( ) : void
리턴 void

ProgressCalcWeighted() 공개 메소드

public ProgressCalcWeighted ( float stepWeights ) : System.Diagnostics
stepWeights float
리턴 System.Diagnostics

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

StepWeights 보호되어 있는 프로퍼티

Step Weights is a list of the relative weight of each step.
protected float[] StepWeights
리턴 float[]