namespace pdinklag.CPW.Common
{
    /// <summary>
    /// Controls a group of lights.
    /// </summary>
    public interface ILightGroup : ILight
    {
        /// <summary>
        /// The number of lights in this group.
        /// </summary>
        int Count { get; }

        /// <summary>
        /// Gets a light from the group.
        /// </summary>
        /// <param name="i">the light index</param>
        /// <returns>the i-th light in the group</returns>
        ILight this[int i] { get; }
    }
}
