Units

About

This class handles all units in scenario. Really, it doesn't store any units, only reference on PlayerUnits, which really store all units. With this class you can really easily iterate ower all units in scenario using python FOR.

Attributes

Methods

Examples

changing all units types by 1

Note: this example is only for demnostration, because result is ugly

for unit in scenario.units:
    unit.type += 1