C# Class PathfindingTest.UI.Menus.Multiplayer.Panels.MapSelectionPanel

Inheritance: XNAInterfaceComponents.ParentComponents.XNADialog
Mostrar archivo Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Properties

Property Type Description
panels CustomArrayList
previewTextureSize Vector2

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

DoLayout() public method

public DoLayout ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GetDepth() public method

Override the XNADialog GetDepth() function to be a fraction lower.
public GetDepth ( ) : int
return int

GetSelectedMap() public method

Gets the currently selected map.
public GetSelectedMap ( ) : String
return String

GetSelectedMapEntry() public method

Gets the currently selected map entry.
public GetSelectedMapEntry ( ) : MapEntryPanel
return MapEntryPanel

LoadMapNames() public method

Loads the mapnames from disk.
public LoadMapNames ( ) : CustomArrayList
return CustomArrayList

MapSelectionPanel() public method

public MapSelectionPanel ( MapPreviewPanel previewPanel, String selectedMapName ) : System
previewPanel MapPreviewPanel
selectedMapName String
return System

OnMapSelectionChanged() public method

Called when the map selection has changed.
public OnMapSelectionChanged ( MapEntryPanel newSelection ) : void
newSelection MapEntryPanel
return void

OnOKClick() public method

Called when the OK button was pressed.
public OnOKClick ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton The XNA Button
return void

Unload() public method

public Unload ( ) : void
return void

Property Details

panels public_oe property

public CustomArrayList panels
return CustomArrayList

previewTextureSize public_oe property

public Vector2 previewTextureSize
return Vector2