C# Class AttributeBonusPercent, PocketGodsRPG_Proto

Attribute bonus percent representation. Example. 40% increase/decrease to attribute base. By: NeilDG
Afficher le fichier Open project: pocket-playlab/PocketGodsRPG_Proto Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AttributeBonusPercent() public méthode

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
Résultat System.Collections

GetPercentNormalized() public méthode

public GetPercentNormalized ( ) : float
Résultat float

GetPercentString() public méthode

Returns the percent in displayable form as string
public GetPercentString ( ) : string
Résultat string

GetPercentType() public méthode

public GetPercentType ( ) : PercentType
Résultat PercentType