﻿namespace pdinklag.CPW.Common
{
    /// <summary>
    /// Controls a group of spotlights.
    /// </summary>
    public interface ISpotlightGroup : ISpotlight
    {
        /// <summary>
        /// The number of spotlights in this group.
        /// </summary>
        int Count { get; }

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