ClassicCityBuilderKit 1.8.8
|
base class for scores used for win conditions and statistics
a score is an asset that provides the method of calculating an int value
the value can be gotten directly using Calculate but it is recommended to use GetCalculatorValue
because the value is buffered there, just make sure there is a IScoresCalculator in the scene
Public Member Functions | |
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 | |
string | Name |
|
abstract |
freshly calculates the score value
consider using GetCalculatorValue instead to get a buffered value
int CityBuilderCore.Score.GetCalculatorValue | ( | ) |
gets the buffered score value from the IScoresCalculator