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)
def __init__(self, data): threading.Thread.__init__(self) self.data = data self.lm = GameControllerModule() self.lm.start(self.data)