def __init__(self): self.layout = Layout(Const.WORLD) Display.initGraphics(self.layout) self.model = Model(self.layout) self.carChanges = {} self.errorCounter = Counter() self.consecutiveLate = 0
def __init__(self, fileName): self.layout = Layout(fileName)