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

Detailed Description

averages the risk values accross all building in a category
for example the DiseaseScore in THREE averages the disease risk value for all housing buildings so it can be displayed as a bar in the UI

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

Inheritance diagram for CityBuilderCore.AverageRiskScore:
CityBuilderCore.Score

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

BuildingCategory BuildingCategory
 
Risk Risk
 
RiskCategory RiskCategory
 
- Public Attributes inherited from CityBuilderCore.Score
string Name