using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace CarFire
{
///
/// A class to represent any object that can exist as an
/// independent piece of the game.
///
public interface IEntity
{
///
/// Load the resources the entity needs.
///
/// The foobar.
void LoadContent(ContentManager contentManager);
///
/// Update the entity's state.
///
/// The timeslice.
void Update(TimeSpan timeSpan);
///
/// Render the entity on the screen.
///
/// The widget.
void Draw(SpriteBatch spriteBatch);
///
/// Get the actual position.
///
Vector2 Position { get; }
///
/// Get the coordinates on the grid.
///
Point Coordinates { get; }
}
}