Tesseract Engine Documentation

GameMenuOption Members

GameMenuOption overview

Public Instance Constructors

GameMenuOption Overloaded. Initializes a new instance of the GameMenuOption class.

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 Fields

color (inherited from GameMenuElement) Set to red by default, to provide easily noticable default color.
font (inherited from GameMenuElement) Font used in this element.
scaleX (inherited from GameMenuElement) Current x scale of element.
scaleY (inherited from GameMenuElement) Current y scale of element.
title (inherited from GameMenuElement) Game menu title.
type (inherited from GameMenuElement) Element type from Enums_Engine.MenuElementType.
visible (inherited from GameMenuElement) Current visibility state of element.

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