def getSkillsConfig(): """Gets shared configuration containing information about tankmen skills and roles. For more information about it see class tankmen_components.SkillsConfig. :return: instance of SkillsConfig. """ global _g_skillsConfig if _g_skillsConfig is None: _g_skillsConfig = skills_readers.readSkillsConfig(ITEM_DEFS_PATH + 'tankmen/tankmen.xml') return _g_skillsConfig
def getSkillsConfig(): global _g_skillsConfig if _g_skillsConfig is None: _g_skillsConfig = skills_readers.readSkillsConfig( ITEM_DEFS_PATH + 'tankmen/tankmen.xml') return _g_skillsConfig