Buttons for the drop down menu buttons when selecting units
More...
|
bool | Active [get, set] |
|
String | item [get, set] |
|
bool | hasItem [get, set] |
|
Weapon | weapon [get, set] |
|
Buttons for the drop down menu buttons when selecting units
§ Button()
View.Button.Button |
( |
ButtonType |
type, |
|
|
Vector2 |
coordinates, |
|
|
Texture2D |
image |
|
) |
| |
Constructor for button
- Parameters
-
type | Which button type |
coordinates | The pixel coordinate of the button |
image | The texture for the button |
§ getButtonType()
§ getImage()
Texture2D View.Button.getImage |
( |
| ) |
|
§ getPixelCoordinates()
Vector2 View.Button.getPixelCoordinates |
( |
| ) |
|
Returns the pixel coordinate of the button
§ setPixelCoordinates()
void View.Button.setPixelCoordinates |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Sets the pixelCoordinate
- Parameters
-
x | The x coordinate of the button |
y | the y coordinate of the button |
§ weapon
Sets and gets weapon associated with button
The documentation for this class was generated from the following file:
- C:/Users/chaos/Documents/Blaze-Brigade/src/Blaze-Brigade/Blaze_Brigade/Button.cs