Loading...
Searching...
No Matches
CityBuilderCore.ThresholdScore Class Reference

Detailed Description

transform a score by defining thresholds
for example the HAPEmploymentScore in THREE defines that employment under 50% causes a loss of 8 happiness

https://citybuilder.softleitner.com/manual/scores

Inheritance diagram for CityBuilderCore.ThresholdScore:
CityBuilderCore.Score

Classes

class  ThresholdItem
 

Public Member Functions

override int Calculate ()
 
- Public Member Functions inherited from CityBuilderCore.Score
int Calculate ()
 freshly calculates the score value
consider using GetCalculatorValue instead to get a buffered value
 
int GetCalculatorValue ()
 gets the buffered score value from the IScoresCalculator
 

Public Attributes

int BaseValue
 
Score Score
 
ThresholdItem[] Items
 
- Public Attributes inherited from CityBuilderCore.Score
string Name