Reworking the junkmap

This commit is contained in:
2014-06-12 23:56:59 -07:00
parent 3a430a9cc3
commit 6fc4c19bad

View File

@@ -874,6 +874,7 @@ GameState.prototype.create = function()
this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light); this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light);
this.staticLights.forEach(function(light) { this.staticLights.forEach(function(light) {
light.update_rect(); light.update_rect();
console.log(light);
}, this) }, this)
// for (i = 0; i < 50 ; i++ ) { // for (i = 0; i < 50 ; i++ ) {