def __init__(self):
self.events = []
self.year = 1
self.month = 1
self.day = 1
self.hour = 0
self.minute = 0
self.parent = Tk()
self.parent.title('Year: 0')
self.parent.geometry("{}x{}+0+0".format(utility.DISPLAY_WIDTH, utility.DISPLAY_HEIGHT))
self.parent.config(background='white')
self.after_id = 0
self.advance_num = 0
self.ids = {}
self.battles = []
self.battle_history = []
self.treaties = []
self.cells = []
self.nations = []
self.religions = []
self.is_continuous = False
self.run_until_battle = False
self.advancing = False
self.graphical_battles = True
self.fast_battles = False
self.clear_gen_log()
self.world_name = ''
self.db = None # The DB connection. Will be created after setup so we can give it a real name.
self.setup()
评论列表
文章目录