You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
484 B
15 lines
484 B
# -*- coding: utf8 -*- |
|
# Общественное достояние, 2023, Алексей Безбородов (Alexei Bezborodov) <AlexeiBv+mirocod_platform_bot@narod.ru> |
|
|
|
class ModuleAgregator: |
|
def __init__(self): |
|
self.m_Modules = {} |
|
|
|
def GetModule(self, a_ModName): |
|
return self.m_Modules[a_ModName] |
|
|
|
def AddModule(self, a_Module): |
|
self.m_Modules[a_Module.GetName()] = a_Module |
|
|
|
def GetModList(self): |
|
return self.m_Modules.values()
|
|
|