Class: Population

Population()

Manages the maximum population capacity. This includes the cap value itself and its type (determining how to distribute the set cap among players). TODO: Should there be a dialog allowing per-player pop limits?

Constructor

new Population()

Source:

Members

cap

Source:

capType

Source:

capTypeDefault

Source:

currentData

Source:

perPlayer

Source:

perPlayer

Source:

perPlayer

Source:

Methods

fromInitAttributes()

Source:

init()

Source:

onMapChange()

Source:

setPopCap()

Source:

setPopCapType()

Source:

toInitAttributes()

Source: