smrendererv3/SMCode/SM.Base/Scene/IShowCollection.cs
2021-03-17 17:09:59 +01:00

26 lines
No EOL
638 B
C#

#region usings
using System.Collections.Generic;
using SM.Base.Window;
#endregion
namespace SM.Base.Scene
{
/// <summary>
/// Adds functions, that is required for a collection.
/// </summary>
public interface IShowCollection
{
/// <summary>
/// The object collection.
/// </summary>
List<IShowItem> Objects { get; }
/// <summary>
/// This draws the objects in the <see cref="Objects" /> list.
/// </summary>
/// <param name="context">The context how the objects need to be drawn.</param>
void Draw(DrawContext context);
}
}