#region usings
using System.Collections.Generic;
using SM.Base.Contexts;
#endregion
namespace SM.Base.Scene
{
///
/// Adds requirements to object, to be properly used as a update and/or draw item.
///
public interface IShowItem
{
///
/// Parent of the object.
///
object Parent { get; set; }
///
/// Contains the name for the object.
///
string Name { get; set; }
///
/// Contains specific flags for the object.
///
ICollection Flags { get; set; }
///
/// Tells the object to update own systems.
///
/// The update context
void Update(UpdateContext context);
///
/// Tells the object to draw its object.
///
///
void Draw(DrawContext context);
///
/// Action, that is called, when the object was added to a GenericItemCollection.
///
void OnAdded(object sender);
///
/// Action, that is called, when the object was removed from a GenericItemCollection.
///
void OnRemoved(object sender);
}
}