Свойство | Тип | Описание | |
---|---|---|---|
buttons | LinkedList |
Метод | Описание | |
---|---|---|
GetIndexOfButton ( |
Gets the index of a button.
|
|
GetMapLocationByButtonTextNumber ( int number ) : Point |
Gets the map location by button text number ( 1, 2, 3 etc.)
|
|
MapPlayerLocationGroup ( XNAInterfaceComponents.Components.XNAPanel parent, Point offset, String mapname ) : System | ||
MapToMiniMap ( Point mapCoordinates ) : Point |
Converts map coordinates to mini map coordinates
|
|
OnMapSelectionChanged ( System.Boolean flag ) : void |
Should be called when the map selection has changed
|
|
OnPlayerIndexChanged ( |
When a user clicks on an empty MapPlayerLocationButton, a number needs to appear.
|
|
OnPlayerIndexChangedMP ( int userID, int buttonIndex ) : void |
Changes the index of a user on the map.
|
|
Unload ( ) : void |
Unloads the group.
|
public GetIndexOfButton ( |
||
button | The button to search for | |
Результат | int |
public GetMapLocationByButtonTextNumber ( int number ) : Point | ||
number | int | The number |
Результат | Point |
public MapPlayerLocationGroup ( XNAInterfaceComponents.Components.XNAPanel parent, Point offset, String mapname ) : System | ||
parent | XNAInterfaceComponents.Components.XNAPanel | |
offset | Point | |
mapname | String | |
Результат | System |
public MapToMiniMap ( Point mapCoordinates ) : Point | ||
mapCoordinates | Point | The map coordinates you want to convert |
Результат | Point |
public OnMapSelectionChanged ( System.Boolean flag ) : void | ||
flag | System.Boolean | Whether the flag was visible or not. |
Результат | void |
public OnPlayerIndexChanged ( |
||
clickedButton | ||
number | int | Number to display on the map |
Результат | void |
public OnPlayerIndexChangedMP ( int userID, int buttonIndex ) : void | ||
userID | int | User ID to change |
buttonIndex | int | The button index. |
Результат | void |