Property | Type | Description | |
---|---|---|---|
buttons | LinkedList |
Method | Description | |
---|---|---|
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 | |
return | int |
public GetMapLocationByButtonTextNumber ( int number ) : Point | ||
number | int | The number |
return | Point |
public MapPlayerLocationGroup ( XNAInterfaceComponents.Components.XNAPanel parent, Point offset, String mapname ) : System | ||
parent | XNAInterfaceComponents.Components.XNAPanel | |
offset | Point | |
mapname | String | |
return | System |
public MapToMiniMap ( Point mapCoordinates ) : Point | ||
mapCoordinates | Point | The map coordinates you want to convert |
return | Point |
public OnMapSelectionChanged ( System.Boolean flag ) : void | ||
flag | System.Boolean | Whether the flag was visible or not. |
return | void |
public OnPlayerIndexChanged ( |
||
clickedButton | ||
number | int | Number to display on the map |
return | void |
public OnPlayerIndexChangedMP ( int userID, int buttonIndex ) : void | ||
userID | int | User ID to change |
buttonIndex | int | The button index. |
return | void |