Reworking the junkmap
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user