Prototype Menu System The Prototype Menu System is a basic menu system for XNA games. The goal of the menu system is to provide a quick system for menus for prototyping games or to act as a starting point for more complex menu systems.
The current implementation of the Prototype Menu System uses a hierarchy system for menus. At the root of your menu system is a Menu object. This class is a GameComponent that you can easily add to your game. The Menu class can either be left in the default automatic mode where it will handle input on its own or it can be put in manual mode where the user controls the menu using simple command methods.
Each Menu can contain multiple MenuSheets. A MenuSheet can be thought of as all of the menu items you will see at one time. For instance you might have a main menu MenuSheet and an Options menu sheet in the same Menu. This enables quick switching between your menu sheets.
Each MenuSheet can contain many MenuItems. These are the core items that the user will interact with in the menu.
The Prototype Menu System was written by Nick Gravelyn (
http://www.nickontech.com) and open sourced under the terms of the Ms-PL.