Ejemplo n.º 1
0
 def update_game(self, game: Game):
     self.__hyperlink.update_hyperlink(game.name)
     self.__map_size.update_size(game.width, game.height)
     self.__player_count.update_counter(game.count, game.limit)
     self.__rate.update_value(game.rate)
     self.__delete_button.config(
         state=tk.NORMAL if game.deletable() else tk.DISABLED)
     self.__game = game