浏览代码

nur kleine Veränderung

ateubert 7 年之前
父节点
当前提交
dab55fa798
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      maze_fertig.py

+ 1 - 1
maze_fertig.py

@@ -113,7 +113,7 @@ class Application(tk.Frame):
113 113
 #GENERIERUNG DES LABYRINTHS
114 114
 class Maze(object):
115 115
 
116
-    def __init__(self, width=21, height=21, exit_cell=(width - 2,1)):				#Initierung des Rahmens des Maze, sowie Start und Ziel Festlegung
116
+    def __init__(self, width=21, height=21, exit_cell=(self.width-2,1)):				#Initierung des Rahmens des Maze, sowie Start und Ziel Festlegung
117 117
         self.width = width
118 118
         self.height = height
119 119
         self.exit_cell = exit_cell