def __init__(self, player): self._player = player self._lastPos = 0.0 self._tracker = BoundedEvictingQueue( (1000 / SLEEP_MILLIS) * self.HISTORY_SECS) self._history = []
def __init__(self, player): self._player = player self._lastPos = 0.0 self._tracker = BoundedEvictingQueue( (1000 / SLEEP_MILLIS) * self.HISTORY_SECS) self._history = []