def process_queue(self, ticks_per_sec):
        start = time.clock()
        while self.show_hide_queue and time.clock() - start < 1.0 / ticks_per_sec:
            self._dequeue()
Process the entire queue while taking periodic breaks. This allows
dataset/ETHPy150Open traverseda/pycraft/pycraft/world.py/World.process_queue