Skip to content

UnitManagerDE

Classes

UnitManagerDE

Bases: UnitManager

Manager of all DE unit related features

Source code in AoE2ScenarioParser/objects/managers/de/unit_manager_de.py
 7
 8
 9
10
11
class UnitManagerDE(UnitManager):
    """Manager of all DE unit related features"""

    def __init__(self, _player_units: List[PlayerUnits], **kwargs):
        super().__init__(_player_units, **kwargs)

Functions


def __init__(...)

Parameters:

Name Type Description Default
_player_units List[PlayerUnits] - required
kwargs ? - {}
Source code in AoE2ScenarioParser/objects/managers/de/unit_manager_de.py
10
11
def __init__(self, _player_units: List[PlayerUnits], **kwargs):
    super().__init__(_player_units, **kwargs)