C# Класс PathfindingTest.UI.Menus.Multiplayer.Panels.MapSelectionPanel

Наследование: XNAInterfaceComponents.ParentComponents.XNADialog
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
panels CustomArrayList
previewTextureSize Vector2

Private Properties

Свойство Тип Описание

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

Метод Описание
DoLayout ( ) : void
Draw ( SpriteBatch sb ) : void
GetDepth ( ) : int

Override the XNADialog GetDepth() function to be a fraction lower.

GetSelectedMap ( ) : String

Gets the currently selected map.

GetSelectedMapEntry ( ) : MapEntryPanel

Gets the currently selected map entry.

LoadMapNames ( ) : CustomArrayList

Loads the mapnames from disk.

MapSelectionPanel ( MapPreviewPanel previewPanel, String selectedMapName ) : System
OnMapSelectionChanged ( MapEntryPanel newSelection ) : void

Called when the map selection has changed.

OnOKClick ( XNAButton source ) : void

Called when the OK button was pressed.

Unload ( ) : void

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

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

public DoLayout ( ) : void
Результат void

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

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат void

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

Override the XNADialog GetDepth() function to be a fraction lower.
public GetDepth ( ) : int
Результат int

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

Gets the currently selected map.
public GetSelectedMap ( ) : String
Результат String

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

Gets the currently selected map entry.
public GetSelectedMapEntry ( ) : MapEntryPanel
Результат MapEntryPanel

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

Loads the mapnames from disk.
public LoadMapNames ( ) : CustomArrayList
Результат CustomArrayList

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

public MapSelectionPanel ( MapPreviewPanel previewPanel, String selectedMapName ) : System
previewPanel MapPreviewPanel
selectedMapName String
Результат System

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

Called when the map selection has changed.
public OnMapSelectionChanged ( MapEntryPanel newSelection ) : void
newSelection MapEntryPanel
Результат void

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

Called when the OK button was pressed.
public OnOKClick ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton The XNA Button
Результат void

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

public Unload ( ) : void
Результат void

Описание свойств

panels публичное свойство

public CustomArrayList panels
Результат CustomArrayList

previewTextureSize публичное свойство

public Vector2 previewTextureSize
Результат Vector2