diff --git a/boxes/generators/traylayout.py b/boxes/generators/traylayout.py index 8e9e837..2dbbecc 100755 --- a/boxes/generators/traylayout.py +++ b/boxes/generators/traylayout.py @@ -88,6 +88,16 @@ class Layout(Boxes): result += 1 return result + def vFloor(self, x, y): + "Is there floor under vertical wall" + return ((x>0 and self.floors[y][x-1]) or + (x0 and self.floors[y-1][x]) or + (y