Class: CounterPopulation

CounterPopulation()

This class manages the population counter in the top panel. It flashes the counter if the training of any owned entity is blocked.

Constructor

new CounterPopulation()

Source:

Members

AllyPopulationTooltip

Source:

CounterCaption

Source:

CurrentGatherersTooltip

Storing the translated and formatted gatherer string in the prototype. Including the number might seem redundant but is required since the collor isn't enough to associate it with the number in the top panel.
Source:

DefaultPopulationColor

Colors to flash when pop limit reached.
Source:

DefaultTotalGatherersColor

Color to highlight the total number of gatherers.
Source:

DefaultTotalGatherersColorZero

Color to highlight the total number of gatherers at zero.
Source:

PopulationAlertColor

Source:

PopulationTooltip

Source:

PopulationTooltipTitle

Source:

color

Source:

color

Source:

count

Source:

icon

Source:

isTrainingBlocked

Source:

isTrainingBlocked

Source:

panel

Source:

resCode

Source:

stats

Source:

Methods

getTooltipData()

Source:

onTick()

Source:

rebuild()

Source: