def move_to(self, cx, cy):
        if (cx, cy) in self.ends:
            self.delete()
            return
        self.cell_x, self.cell_y = cx, cy
        x, y = self.cell_x * hw + hw//2, self.cell_y * hh + hh//2
        self.start_x, self.start_y = self.x, self.y
        self.dest_x, self.dest_y = x, y
        self.anim_time = 0
        self.dx = (self.dest_x - self.start_x) / self.period
        self.dy = (self.dest_y - self.start_y) / self.period
Gets the input instance used by the last execution of the command.
dataset/ETHPy150Open ardekantur/pyglet/contrib/spryte/dtd/dtd.py/Enemy.move_to--crossover with--dataset/ETHPy150Open sdispater/cleo/cleo/testers/command_tester.py/CommandTester.get_input