def Match(team0, team1): '''Run a single battle between two population files.''' mod = module.getMod() mod.load_team(team0, constants.OBJECT_TYPE_TEAM_0) mod.load_team(team1, constants.OBJECT_TYPE_TEAM_1) mod.set_speedup(100) OpenNero.enable_ai()
def ModMain(mode = ""): module.getMod() # initialize the NERO_Battle module. client.ClientMain()