C# Class EtherDuels.Menu.View.MenuView

The MenuView is responsible for drawing the menu and all its subcomponents. It contains a list of menuDialogViews of which only one at a time can be active.
Inheritance: IMenuView
Afficher le fichier Open project: julius/pse_spacewar

Méthodes publiques

Méthode Description
Draw ( Viewport viewport, SpriteBatch spriteBatch ) : void

Draws the MenuView and all its subcomponents.

MenuView ( MenuDialogView menuDialogViews, MenuModel menuModel ) : System

Creates a new MenuView object.

Method Details

Draw() public méthode

Draws the MenuView 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.
Résultat void

MenuView() public méthode

Creates a new MenuView object.
public MenuView ( MenuDialogView menuDialogViews, MenuModel menuModel ) : System
menuDialogViews MenuDialogView An array of MenuDialogView objects.
menuModel MenuModel The dedicated MenuModel.
Résultat System