C# Class EtherDuels.Menu.View.MenuDialogView

Defines the view of a MenuDialog. It contains a list of MenuItemViews. It draws the associated MenuDialog only if that is currently active.
Show file Open project: julius/pse_spacewar Class Usage Examples

Public Methods

Method Description
Draw ( Viewport viewport, SpriteBatch spriteBatch ) : void

Draws the MenuDialogView and all its subcomponents.

MenuDialogView ( MenuItemView menuItemViews, MenuDialog menuDialog ) : System

Creates a new MenuDialogView object.

Method Details

Draw() public method

Draws the MenuDialogView and all its subcomponents.
public Draw ( Viewport viewport, SpriteBatch spriteBatch ) : void
viewport Microsoft.Xna.Framework.Graphics.Viewport The used ViewPort.
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The used SpriteBatch.
return void

MenuDialogView() public method

Creates a new MenuDialogView object.
public MenuDialogView ( MenuItemView menuItemViews, MenuDialog menuDialog ) : System
menuItemViews MenuItemView An array of MenuItemViews.
menuDialog MenuDialog The dedicated MenuDialog.
return System