Exemple #1
0
 def thread(self, *args):
     print "Started interp thread"
     locals = args[0]
     game = pybw_swig.getGame()
     locals.update(dict(game=game, swig=pybw_swig))
     i = code.InteractiveConsole(locals=locals)
     i.interact()
Exemple #2
0
 def thread(self, *args):
     print "Started interp thread"
     locals = args[0]
     game = pybw_swig.getGame()
     locals.update(dict(game=game, swig=pybw_swig))
     i = code.InteractiveConsole(locals=locals)
     i.interact()
 def onConnect(self):
     self.game = pybw_swig.getGame() 
     print "Connected to broodwar!"
Exemple #4
0
 def onConnect(self):
     self.game = pybw_swig.getGame()
     print "Connected to broodwar!"
Exemple #5
0
 def onConnect(self):
     game = pybw_swig.getGame()
     self.consoleClient = pybw_repl.ConsoleClient()
     self.consoleClient.start_repl(dict(game=game, swig=pybw_swig))
Exemple #6
0
 def onConnect(self):
     game = pybw_swig.getGame()
     self.consoleClient = pybw_repl.ConsoleClient()
     self.consoleClient.start_repl(dict(game=game, swig=pybw_swig))