Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

getPercentageToMax

Description

Returns how close the level is to the maximum level.

Arguments

1 number level

the current level.

2 string attributeID

the attribute ID.

Returns

1 number

progress to max.