C# Class PathfindingTest.UI.Menus.Multiplayer.Panels.PlayerLocation.MapPlayerLocationButton

Inheritance: XNAInterfaceComponents.AbstractComponents.XNAButton
Datei anzeigen Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sb ) : void

Draws the map player location panel on the screen.

MapPlayerLocationButton ( MapPlayerLocationGroup group, XNAInterfaceComponents.Components.XNAPanel parent, Point mapLocation, Point miniMapLocation ) : System
OnClick ( XNAButton button ) : void

When this button was clicked.

Unload ( ) : void

Private Methods

Method Description
MapPlayerLocationButton ( ) : System

Method Details

Draw() public method

Draws the map player location panel on the screen.
public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch Spritebatch to draw on.
return void

MapPlayerLocationButton() public method

public MapPlayerLocationButton ( MapPlayerLocationGroup group, XNAInterfaceComponents.Components.XNAPanel parent, Point mapLocation, Point miniMapLocation ) : System
group MapPlayerLocationGroup
parent XNAInterfaceComponents.Components.XNAPanel
mapLocation Point
miniMapLocation Point
return System

OnClick() public method

When this button was clicked.
public OnClick ( XNAButton button ) : void
button XNAInterfaceComponents.AbstractComponents.XNAButton The button, bla
return void

Unload() public method

public Unload ( ) : void
return void