Ejemplo n.º 1
0
 def draw(self):
     cx, cy = cell_to_canvas(self.location)
     possible_rect = self.draw_subclass(cx, cy)
     if possible_rect:
         self.rect = possible_rect
         g.changed_rects.append(self.rect)
Ejemplo n.º 2
0
 def draw(self):
     cx, cy = cell_to_canvas(self.location)
     self.draw_subclass(cx, cy)