Tesseract Engine Documentation

GameMenu Methods

The methods of the GameMenu class are listed below. For a complete list of GameMenu class members, see the GameMenu Members topic.

Public Instance Methods

AddImageScroller Adds a new Menu image scroller item
AddLabelOverloaded. Adds a new Menu Label item
AddMenuButtonOverloaded. Adds a new menu Button
AddMenuOptionOverloaded. Adds a new Menu Option Item
AddRandomImageDisplay Adds a new image display which randomly displays a different image
AddValueInput Adds a new Menu value-based item
Draw Draw function
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetActiveIndex Returns the index of the current active menu element
GetActiveMenuElement Returns the current active menu element
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetMenuElementOverloaded. Returns the Menu element at index
GetTitle Returns the Name of the current Game Menu
GetType (inherited from Object)Gets the Type of the current instance.
NextMenuElement Sets the current menu element to the next menu element
PreviousMenuElement Sets the current menu element to the previous menu element
SetDrawMenuTitle Sets whether the menu is drawn or not
SetFont Sets the font for all menu items
SetMenuOption Sets the list of options for a particular Menu option item
SetPosition Sets the position where the menu will be drawn
SetTitle Sets the menu title
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GameMenu Class | DarkWynter.Engine.Menus Namespace