def moveRelative(self, x=0, y=0): self.pos = (clip(self.pos[0] + x, 0, self.limit[0]), clip(self.pos[1] + y, 0, self.limit[1])) self.instance.move(ePoint(self.pos[0], self.pos[1]))
def moveRelative(self, x = 0, y = 0): self.pos = (clip(self.pos[0] + x, 0, self.limit[0]), clip(self.pos[1] + y, 0, self.limit[1])) self.instance.move(ePoint(self.pos[0], self.pos[1]))