Tesseract Engine Documentation

GameMenuElement Members

GameMenuElement overview

Public Instance Constructors

GameMenuElement Constructor Game Menu Element constructor.

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.
SetColor 
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 Fields

color Set to red by default, to provide easily noticable default color.
font Font used in this element.
scaleX Current x scale of element.
scaleY Current y scale of element.
title Game menu title.
type Element type from Enums_Engine.MenuElementType.
visible 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

GameMenuElement Class | DarkWynter.Engine.Menus Namespace