예제 #1
0
 def create_wall(self, pos=[24, 49, 16, 298]):
     mywal = Wall(self.canv, pos)
     for i in mywal.get_coords()[0]:
         if not mywal.get_coords()[1]:
             walls['horizontal'].append(i)
         else:
             walls['vertical'].append(i)