def add_definitions(definitions: BotDefinitions): definitions.add_bot( "protossbot", lambda params: Bot( Race.Protoss, ProtossBot(BotDefinitions.index_check(params, 0, "default"))), None) definitions.add_bot("terranbot", lambda params: Bot(Race.Terran, TerranBot()), None) definitions.add_bot("zergbot", lambda params: Bot(Race.Zerg, ZergBot()), None)
def add_definitions(definitions: BotDefinitions): definitions.add_bot( "protossbot", lambda params: Bot( Race.Protoss, ProtossBot(BotDefinitions.index_check(params, 0, "default"))), None)