using System.Collections.Generic; namespace Kav { public class SceneData { private readonly PointLight[] pointLights = new PointLight[4]; private readonly List models = new List(); public Camera Camera { get; set; } public IEnumerable Models { get { return models; } } public IEnumerable PointLights { get { return pointLights; } } public void AddPointLight(int index, PointLight light) { pointLights[index] = light; } public void AddModel(Model model) { models.Add(model); } } }