def draw_state_line(self,x,y): """Store the pos and draw a line to it.""" self.state = x,y decors.drawLine(self.statex,self.statey,x,y)
def draw_state_line(self,x,y): """Store the pos and draw a line to it.""" self.state = x,y #GD.debug("Rect (%s,%s) - (%s,%s)" % (self.statex,self.statey,x,y)) decors.drawLine(self.statex,self.statey,x,y)