def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def setTail(self, pt):
        self.pt = pt
        self.Tail.Eq(pt)
        self.Head.setPoint(self.pt.x + self.x, self.pt.y + self.y)