public/js-roguelike-skeleton/src/lighting-rot.js
function(x, y, r, g, b){
            this._lighting.setLight(x, y, [r, g, b]);
            this._dirty = true;
        }
function(x, y, r, g, b){
            this._lighting.setLight(x, y, [r, g, b]);
            this._dirty = true;
        }
function ( x , y , r , g , b ) { this . _lighting . setLight ( x , y , [ r , g , b ] ) ; this . _dirty = true ; }
Set a light position and color
@method set
@param {Number} x - The map coordinate position to set lightin on the x axis.
@param {Number} y - The map coordinate position to set lightin on the y axis.
@param {Number} r - Red.
@param {Number} g - Green.
@param {Number} b - Blue.
Set a light position and color