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

Inheritance: XNAInterfaceComponents.Components.XNAPanel
Afficher le fichier Open project: Wotuu/RTS_XNA_v2

Méthodes publiques

Свойство Type Description
componentHeight int
componentSpacing int

Méthodes publiques

Méthode Description
GetSelectedColor ( ) : Color

Gets the currently selected color.

OnColorChanged ( ) : void

Notify the rest that this user's color has changed.

OnKickButtonPressed ( XNAButton source ) : void

When the kick button has been pressed.

OnReadyChanged ( XNAInterfaceComponents.ChildComponents.XNACheckBox source ) : void

When the ready state changed.

OnTeamChanged ( ) : void

Notify the rest that this user's team has changed.

SelectColor ( int colorIndex ) : void

Selects a color.

UpdateBounds ( int index ) : void

Sets the index of this panel, and updates it's location

UserDisplayPanel ( ParentComponent parent, SocketLibrary.Users.User user, int index ) : System

Method Details

GetSelectedColor() public méthode

Gets the currently selected color.
public GetSelectedColor ( ) : Color
Résultat Color

OnColorChanged() public méthode

Notify the rest that this user's color has changed.
public OnColorChanged ( ) : void
Résultat void

OnKickButtonPressed() public méthode

When the kick button has been pressed.
public OnKickButtonPressed ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton
Résultat void

OnReadyChanged() public méthode

When the ready state changed.
public OnReadyChanged ( XNAInterfaceComponents.ChildComponents.XNACheckBox source ) : void
source XNAInterfaceComponents.ChildComponents.XNACheckBox The source, bla
Résultat void

OnTeamChanged() public méthode

Notify the rest that this user's team has changed.
public OnTeamChanged ( ) : void
Résultat void

SelectColor() public méthode

Selects a color.
public SelectColor ( int colorIndex ) : void
colorIndex int The index of the color to select.
Résultat void

UpdateBounds() public méthode

Sets the index of this panel, and updates it's location
public UpdateBounds ( int index ) : void
index int
Résultat void

UserDisplayPanel() public méthode

public UserDisplayPanel ( ParentComponent parent, SocketLibrary.Users.User user, int index ) : System
parent XNAInterfaceComponents.AbstractComponents.ParentComponent
user SocketLibrary.Users.User
index int
Résultat System

Property Details

componentHeight public_oe static_oe property

public static int componentHeight
Résultat int

componentSpacing public_oe static_oe property

public static int componentSpacing
Résultat int