diff options
| author | Julie Lala <jules@okfoc.us> | 2014-04-28 10:15:00 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-04-28 10:15:00 -0400 |
| commit | f36f9c314a90b056bd6ce889be24158808a13dcc (patch) | |
| tree | 1e02fd1d6402969475f422b7ada0b3958390031b /assets/javascripts/rectangles/_env.js | |
| parent | a0c68e2f34013952144c82936d84949b306693e8 (diff) | |
adding scenery
Diffstat (limited to 'assets/javascripts/rectangles/_env.js')
| -rw-r--r-- | assets/javascripts/rectangles/_env.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/_env.js b/assets/javascripts/rectangles/_env.js index edec7e4..ce19296 100644 --- a/assets/javascripts/rectangles/_env.js +++ b/assets/javascripts/rectangles/_env.js @@ -19,7 +19,7 @@ environment.init = function(){ // map.center.b = 0 clipper.rooms.push( new Room ({ - rect: new Rect(0,0, 500,500), + rect: new Rect(-500,-500, 500,500), height: 500, })) clipper.rooms.push( new Room ({ @@ -38,6 +38,7 @@ environment.init = function(){ builder.init() clipper.init() mover.init() + scenery.init() window.scene && scene.update() environment.update() } |
