def __init__(self): """ Initialization of nested factories. """ self.__factories = { CTRL_ENTITY_TYPE.LEGACY: LegacyFactory(), CTRL_ENTITY_TYPE.UNIT: UnitFactory(), CTRL_ENTITY_TYPE.PREQUEUE: PreQueueFactory() }
def __init__(self): self.__factories = {CTRL_ENTITY_TYPE.PREBATTLE: PrebattleFactory(), CTRL_ENTITY_TYPE.UNIT: UnitFactory(), CTRL_ENTITY_TYPE.PREQUEUE: PreQueueFactory()}
def __init__(self): self.__factories = { CTRL_ENTITY_TYPE.LEGACY: LegacyFactory(), CTRL_ENTITY_TYPE.UNIT: UnitFactory(), CTRL_ENTITY_TYPE.PREQUEUE: PreQueueFactory() }