C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Draw ( Viewport viewport, SpriteBatch spriteBatch ) : void

Draws the MenuDialogView and all its subcomponents.

MenuDialogView ( MenuItemView menuItemViews, MenuDialog menuDialog ) : System

Creates a new MenuDialogView object.

Описание методов

Draw() публичный Метод

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.
Результат void

MenuDialogView() публичный Метод

Creates a new MenuDialogView object.
public MenuDialogView ( MenuItemView menuItemViews, MenuDialog menuDialog ) : System
menuItemViews MenuItemView An array of MenuItemViews.
menuDialog MenuDialog The dedicated MenuDialog.
Результат System