Tesseract Engine Documentation

GameMenuOption Methods

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

Public Instance Methods

AddOption Add an option to this option selector.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetActiveIndex Get the current option's index.
GetActiveOption Get the current option's text.
GetColor (inherited from GameMenuElement) Gets the color of the SpriteFont
GetElementType (inherited from GameMenuElement) Accessor for element type.
GetFont (inherited from GameMenuElement) Gets the element's current font.
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.
GetScaleX (inherited from GameMenuElement) Gets the element's current x scale.
GetScaleY (inherited from GameMenuElement) Gets the element's current y scale.
GetTitle (inherited from GameMenuElement) Gets the element's title.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from GameMenuElement) Hides this element from view.
isVisible (inherited from GameMenuElement) Checks to see if element is currently visible.
NextOption Select the next option in the list.
PreviousOption Select the previous option in the list.
SetColor (inherited from GameMenuElement) 
SetCurrentIndex Set currently displayed option text.
SetFont (inherited from GameMenuElement) Sets the element's current font.
SetOption Add a list of options to this option selector.
SetScale (inherited from GameMenuElement) Sets the element's scale.
SetTitle (inherited from GameMenuElement) Sets the element's title.
Show (inherited from GameMenuElement) Makes this element visible.
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

GameMenuOption Class | DarkWynter.Engine.Menus Namespace