Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

calculateIndividualRating

Description

Calculates an individual game rating. This includes the randomization of the rating.

Arguments

1 number rating

the calculated rating.

2 number bestWorstDistance

the largest distance between the desired and real quality levels.

3 bool lowerThanDesired

whether one of the quality levels was lower than the required level.

Returns

1 number

the final rating value.