C# Класс PathfindingTest.UI.Menus.Multiplayer.Panels.UserDisplayPanel

Наследование: XNAInterfaceComponents.Components.XNAPanel
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
componentHeight int
componentSpacing int

Открытые методы

Метод Описание
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

Описание методов

GetSelectedColor() публичный Метод

Gets the currently selected color.
public GetSelectedColor ( ) : Color
Результат Color

OnColorChanged() публичный Метод

Notify the rest that this user's color has changed.
public OnColorChanged ( ) : void
Результат void

OnKickButtonPressed() публичный Метод

When the kick button has been pressed.
public OnKickButtonPressed ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton
Результат void

OnReadyChanged() публичный Метод

When the ready state changed.
public OnReadyChanged ( XNAInterfaceComponents.ChildComponents.XNACheckBox source ) : void
source XNAInterfaceComponents.ChildComponents.XNACheckBox The source, bla
Результат void

OnTeamChanged() публичный Метод

Notify the rest that this user's team has changed.
public OnTeamChanged ( ) : void
Результат void

SelectColor() публичный Метод

Selects a color.
public SelectColor ( int colorIndex ) : void
colorIndex int The index of the color to select.
Результат void

UpdateBounds() публичный Метод

Sets the index of this panel, and updates it's location
public UpdateBounds ( int index ) : void
index int
Результат void

UserDisplayPanel() публичный Метод

public UserDisplayPanel ( ParentComponent parent, SocketLibrary.Users.User user, int index ) : System
parent XNAInterfaceComponents.AbstractComponents.ParentComponent
user SocketLibrary.Users.User
index int
Результат System

Описание свойств

componentHeight публичное статическое свойство

public static int componentHeight
Результат int

componentSpacing публичное статическое свойство

public static int componentSpacing
Результат int