Reworking the junkmap

This commit is contained in:
2014-06-12 23:42:15 -07:00
parent 1a271ed300
commit 2530780305

View File

@@ -28,7 +28,7 @@ var game = new Phaser.Game(640, 480, Phaser.AUTO, '');
// Create torch objects
// Light constructor
var Light = function(game, x, y, key, frame, radius, fade, color, flicker) {
console.log("Making a light : " + [x, y, key, frame, radius, face, color, flicker]);
console.log("Making a light : " + [x, y, key, frame, radius, fade, color, flicker]);
color = ( typeof color == undefined ? [255, 255, 255] : color );
fade = ( typeof fade == undefined ? 0.25 : fade );
radius = ( typeof radius == undefined ? 64 : radius );