Ejemplo n.º 1
0
    def __init__(self, type, playdataxml, settingsxml=None):

        # Load settings
        Settings.SETTINGS = Settings(settingsxml)

        # Load game data
        print "====> Loading XML:", playdataxml
        self._gameSettings = Settings(playdataxml)
        self.typeg = type

        # Internal data initialization
        self.__cityEvolution = CityEvolution()
Ejemplo n.º 2
0
 def create_settings(self):
     # The inputs are linked to a tkinter variable. Those values will have to be retrieved from each variable
     # and passed on to the settings objects
     return Settings(self.pdf_dir.get(), self.json_dir.get(),
                     self.out_dir.get())