diff options
Diffstat (limited to 'assets/javascripts/rectangles/models/room.js')
| -rw-r--r-- | assets/javascripts/rectangles/models/room.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/javascripts/rectangles/models/room.js b/assets/javascripts/rectangles/models/room.js index 3d512c3..3ccf1fb 100644 --- a/assets/javascripts/rectangles/models/room.js +++ b/assets/javascripts/rectangles/models/room.js @@ -6,6 +6,9 @@ window.room = (function(){ this.regions = [] this.height = opt.height || 200 this.focused = false + this.$walls = $([]) + this.$floor = $([]) + this.$ceiling = $([]) } room.prototype.toString = function(){ @@ -19,6 +22,9 @@ window.room = (function(){ this.regions = [ copy ] this.intersects = [] this.constructed = false + this.$walls = $([]) + this.$floor = $([]) + this.$ceiling = $([]) } room.prototype.clipTo = function(r){ |
