public void AddLightObject(ILighter lightObject) { if (lightObjects == null) { lightObjects = new List <ILighter>(); } lightObjects.Add(lightObject); UpdateObjects(); }
public Switcher(ILighter d) { this.lighter = d; }