Tesseract Engine Documentation

GameMenuElement Methods

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

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetColor Gets the color of the SpriteFont
GetElementType Accessor for element type.
GetFont 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 Gets the element's current x scale.
GetScaleY Gets the element's current y scale.
GetTitle Gets the element's title.
GetType (inherited from Object)Gets the Type of the current instance.
Hide Hides this element from view.
isVisible Checks to see if element is currently visible.
SetFont Sets the element's current font.
SetScale Sets the element's scale.
SetTitle Sets the element's title.
Show 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

GameMenuElement Class | DarkWynter.Engine.Menus Namespace