|
@@ -278,7 +278,7 @@ define([ |
|
|
if (node) |
|
|
if (node) |
|
|
return node.isWall(); |
|
|
return node.isWall(); |
|
|
else |
|
|
else |
|
|
return false; |
|
|
|
|
|
|
|
|
return true; |
|
|
}, |
|
|
}, |
|
|
isCellOpen: function(x, y) { |
|
|
isCellOpen: function(x, y) { |
|
|
if ((x < 0) || (y < 0) || (x >= this.width) | (y >= this.height)) |
|
|
if ((x < 0) || (y < 0) || (x >= this.width) | (y >= this.height)) |
|
|