Example #1
0
 def mycallback(teleported):
     if teleported is None:
         logging.info("canceled")
     elif teleported:
         logging.info("teleport")
     else:
         logging.info("normal move")
     guiutils.exit()
Example #2
0
 def mycallback(teleported):
     if teleported is None:
         logging.info("canceled")
     elif teleported:
         logging.info("teleport")
     else:
         logging.info("normal move")
     guiutils.exit()
Example #3
0
 def my_callback((game, color)):
     logging.info("picked %s", color)
     guiutils.exit()
Example #4
0
 def my_callback((legion, creature, recruiter_names)):
     logging.info("%s recruited %s %s", legion, creature, recruiter_names)
     guiutils.exit()
Example #5
0
 def my_callback((legion, creature, recruiter_names)):
     logging.info("%s recruited %s %s", legion, creature, recruiter_names)
     guiutils.exit()
Example #6
0
 def my_callback(result):
     legion, donor, creature = result
     logging.info("Will summon %s from %s into %s", creature, donor, legion)
     guiutils.exit()
Example #7
0
 def my_callback(result):
     legion, creature = result
     logging.info("%s acquired %s", legion, creature)
     guiutils.exit()
Example #8
0
 def my_callback((legion, donor, creature)):
     logging.info("Will summon %s from %s into %s", creature, donor, legion)
     guiutils.exit()
Example #9
0
 def my_callback(creature_name):
     logging.info("Picked %s", creature_name)
     guiutils.exit()
Example #10
0
 def my_callback((game, color)):
     logging.info("picked %s", color)
     guiutils.exit()
 def my_callback(creature_name):
     logging.info("Picked %s", creature_name)
     guiutils.exit()
Example #12
0
 def my_callback((legion, creature)):
     logging.info("%s acquired %s", legion, creature)
     guiutils.exit()
Example #13
0
 def my_callback(result):
     game, color = result
     logging.info("picked %s", color)
     guiutils.exit()