C# 클래스 AttributeBonusPercent, PocketGodsRPG_Proto

Attribute bonus percent representation. Example. 40% increase/decrease to attribute base. By: NeilDG
파일 보기 프로젝트 열기: pocket-playlab/PocketGodsRPG_Proto 1 사용 예제들

공개 메소드들

메소드 설명
AttributeBonusPercent ( float percentNormalized, PercentType percentType ) : System.Collections

Parameter value should be 0.0 - 1.0f. Percent type should be INCREASING/DECREASING.

GetPercentNormalized ( ) : float
GetPercentString ( ) : string

Returns the percent in displayable form as string

GetPercentType ( ) : PercentType

메소드 상세

AttributeBonusPercent() 공개 메소드

Parameter value should be 0.0 - 1.0f. Percent type should be INCREASING/DECREASING.
public AttributeBonusPercent ( float percentNormalized, PercentType percentType ) : System.Collections
percentNormalized float Percent normalized.
percentType PercentType
리턴 System.Collections

GetPercentNormalized() 공개 메소드

public GetPercentNormalized ( ) : float
리턴 float

GetPercentString() 공개 메소드

Returns the percent in displayable form as string
public GetPercentString ( ) : string
리턴 string

GetPercentType() 공개 메소드

public GetPercentType ( ) : PercentType
리턴 PercentType