Example #1
0
    public void AddLightObject(ILighter lightObject)
    {
        if (lightObjects == null)
        {
            lightObjects = new List <ILighter>();
        }

        lightObjects.Add(lightObject);
        UpdateObjects();
    }
Example #2
0
 public Switcher(ILighter d)
 {
     this.lighter = d;
 }