ondras/rot.js — pull request #47 by albinodervall (2014-12-29 13:54:15+00:00)
Title: Add function to remove all lights

If you use the same instance of `ROT.Lighting` with different sets of lights, there's no function to clear all lights.. This pull request solves that by wrapping for `this._lights = {};` in a function which provides a more intuitive interface to clear all lights.