using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using V3.Input;
namespace V3.Widgets
{
///
/// A menu that displays a list of widgets.
///
public interface IMenu : IMouseEventHandler
{
///
/// The widgets in this menu. The order of the widgets in this list
/// is the order in which they are displayed.
///
List Widgets { get; }
///
/// The total size of the widgets in this menu.
///
Vector2 Size { get; }
///
/// The current position of the widgets.
///
Vector2 Position { get; }
void Draw(SpriteBatch spriteBatch);
void Update();
}
}