Reworking the junkmap

This commit is contained in:
2014-06-12 23:12:23 -07:00
parent 35097ddc92
commit fb82a493f0

View File

@@ -605,6 +605,7 @@ var moonlightDialog = {
// Create torch objects
// Light constructor
var Light = function(game, x, y, key, frame, radius, fade, color, flicker) {
console.log("Making a light");
color = ( typeof color == undefined ? [255, 255, 255] : color );
fade = ( typeof fade == undefined ? 0.25 : fade );
radius = ( typeof radius == undefined ? 64 : radius );