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

Inheritance: XNAInterfaceComponents.AbstractComponents.XNAButton
Afficher le fichier Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
MapPlayerLocationButton ( ) : System

Method Details

Draw() public méthode

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

MapPlayerLocationButton() public méthode

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

OnClick() public méthode

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

Unload() public méthode

public Unload ( ) : void
Résultat void