 pygame.draw.rect(self.surface, (self.color), (self.x, self.y, self.width, self.height))         # for i in self.text_list_keys:         #     if self.id not in i:         #         self.text_list_keys.append(self.id)         #         self.text_list.append(tuple(self.id))         #     else:         #         self.nothing()         self.dict_all[self.id] = tuple((self.x, self.y, self.width, self.height))         self.dict_text = {}      def draw(self):         pygame.draw.rect(self.surface, (self.color), (self.x, self.y, self.width, self.height))      