コード例 #1
0
ファイル: manager.py プロジェクト: waiblinger/Pandemic_Sim
 def visualize(self):
     try:
         if self.load():
             vis = Visualizer(int(self.data['borderX']),
                              int(self.data['borderY']))
             vis.createImage(self.data)
     except Exception:
         Window.error(
             "There is no .json file for the given project name.\nRun the simulation first."
         )
     self.win.showResults("gif/" + self.data['project'] + ".gif")