def dir(self, field):
        if field == self.field:
            return self.direction
        return ""
Calculates the elapsed time between frames or ticks.
dataset/ETHPy150Open mozilla/moztrap/moztrap/view/lists/sort.py/Sort.dir--crossover with--dataset/ETHPy150Open ntasfi/PyGame-Learning-Environment/ple/ple.py/PLE._tick