XMenus Class
This is the menu manager. It has several functions for creating and navigating menus.
  • AddMenu(string, string, XButtonStyle, XMenusStyle) - This will add a menu to the game. The first parameter is its name, the second is the title that will appear in the menu, the third is the style its buttons will have, and the fourth is the menu's style itself.
  • ChooseMenuItem() - This will return the name of the highlighted button if a menu is open, use this to "Press" buttons
  • CloseAll() - This will close any open menus
  • ToggleMenu(string) - This will close the current menu and open another specified by the parameter
  • Menu(string) - This will return the menu specified so its settings and functions can be accessed.

Last edited Mar 23, 2008 at 8:40 AM by Hazardous101, version 2

Comments

No comments yet.