#region File Description
//-----------------------------------------------------------------------------
// An entity is the basic renderable entity, eg something you can draw.
// Entities don't have transformations of their own; instead, you put them inside
// nodes which handle matrices and transformations for them.
//
// Author: Ronen Ness.
// Since: 2017.
//-----------------------------------------------------------------------------
#endregion
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace MonoGameSceneGraph
{
///
/// A basic renderable entity.
///
public interface IEntity
{
///
/// Draw this entity.
///
/// Parent node that's currently drawing this entity.
/// Local transformations from the direct parent node.
/// World transformations to apply on this entity (this is what you should use to draw this entity).
void Draw(Node parent, Matrix localTransformations, Matrix worldTransformations);
}
}