def mycallback(teleported): if teleported is None: logging.info("canceled") elif teleported: logging.info("teleport") else: logging.info("normal move") guiutils.exit()
def my_callback((game, color)): logging.info("picked %s", color) guiutils.exit()
def my_callback((legion, creature, recruiter_names)): logging.info("%s recruited %s %s", legion, creature, recruiter_names) guiutils.exit()
def my_callback(result): legion, donor, creature = result logging.info("Will summon %s from %s into %s", creature, donor, legion) guiutils.exit()
def my_callback(result): legion, creature = result logging.info("%s acquired %s", legion, creature) guiutils.exit()
def my_callback((legion, donor, creature)): logging.info("Will summon %s from %s into %s", creature, donor, legion) guiutils.exit()
def my_callback(creature_name): logging.info("Picked %s", creature_name) guiutils.exit()
def my_callback((legion, creature)): logging.info("%s acquired %s", legion, creature) guiutils.exit()
def my_callback(result): game, color = result logging.info("picked %s", color) guiutils.exit()