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)
def draw(self): cx, cy = cell_to_canvas(self.location) self.draw_subclass(cx, cy)