Exemplo n.º 1
0
class DummySurrounder(threading.Thread):

    def __init__(self, data):
        threading.Thread.__init__(self)
        self.data = data
        self.lm = GameControllerModule()
        self.lm.start(self.data)

    def run(self):
        while True:
            self.lm.update(self.data)
Exemplo n.º 2
0
 def __init__(self, data):
     threading.Thread.__init__(self)
     self.data = data
     self.lm = GameControllerModule()
     self.lm.start(self.data)