private void LoadLightSources()
{
Logger.Info("Loading light sources");
foreach (StructureObject s in _structureObjects.ToList()) {
var section = _rules.GetSection(s.Name);
if (section != null && section.HasKey("LightVisibility")) {
var ls = new LightSource(_rules.GetSection(s.Name), _lighting);
ls.Tile = s.Tile;
_lightSources.Add(ls);
}
}
}