C# Class Project290.Menus.DescriptionMenuEntry

Used for representing a menu entry with a string description.
Inheritance: Project290.Menus.MenuEntry
Exibir arquivo Open project: scastle/Solitude Class Usage Examples

Public Methods

Method Description
DescriptionMenuEntry ( string text, string descripton, MenuAction actions, Vector2 position ) : System

Initializes a new instance of the DescriptionMenuEntry class.

Draw ( Vector2 offsetPosition, bool highlighted ) : void

Draws the menu entry at the specified position.

Method Details

DescriptionMenuEntry() public method

Initializes a new instance of the DescriptionMenuEntry class.
public DescriptionMenuEntry ( string text, string descripton, MenuAction actions, Vector2 position ) : System
text string The text.
descripton string The descripton.
actions MenuAction The actions.
position Vector2 The position.
return System

Draw() public method

Draws the menu entry at the specified position.
public Draw ( Vector2 offsetPosition, bool highlighted ) : void
offsetPosition Vector2
highlighted bool Specifies whether or not this menu entry /// is the highlighted menu entry in the list of menu entries.
return void