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

Inheritance: XNAInterfaceComponents.Components.XNAPanel
ファイルを表示 Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Methods

Method Description
ChangeMap ( String mapname ) : void

Changes the map.

Draw ( SpriteBatch sb ) : void
MapPreviewPanel ( ParentComponent parent, Rectangle bounds ) : System
OnSelectMapButtonClicked ( XNAButton source ) : void

Method Details

ChangeMap() public method

Changes the map.
public ChangeMap ( String mapname ) : void
mapname String The mapname to change to.
return void

Draw() public method

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

MapPreviewPanel() public method

public MapPreviewPanel ( ParentComponent parent, Rectangle bounds ) : System
parent XNAInterfaceComponents.AbstractComponents.ParentComponent
bounds Microsoft.Xna.Framework.Rectangle
return System

OnSelectMapButtonClicked() public method

public OnSelectMapButtonClicked ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton
return void