Свойство | Type | Description | |
---|---|---|---|
Hovered | GameTime>.Action |
Свойство | Type | Description | |
---|---|---|---|
spriteBatch |
Méthode | Description | |
---|---|---|
Collapse ( ) : void | ||
MenuItem ( IScreen screen, DisplayLayer drawOrder, string text ) : System | ||
OnKeyEvent ( List |
Reaktionen auf Tasteneingaben.
|
|
OnLeftClick ( Vector2 position, ClickState state, |
Reaktionen auf einen Linksklick.
|
|
OnRightClick ( Vector2 position, ClickState state, |
Reaktionen auf einen Rechtsklick.
|
|
OnScroll ( int scrollValue, |
Die Reaktion auf eine Bewegung des Mausrads.
|
|
SetHovered ( bool isHovered, |
Méthode | Description | |
---|---|---|
Draw ( |
public MenuItem ( IScreen screen, DisplayLayer drawOrder, string text ) : System | ||
screen | IScreen | |
drawOrder | DisplayLayer | |
text | string | |
Résultat | System |
public OnKeyEvent ( List |
||
key | List |
|
keyEvent | KeyEvent | |
time | ||
Résultat | void |
public OnLeftClick ( Vector2 position, ClickState state, |
||
position | Vector2 | |
state | ClickState | |
time | ||
Résultat | void |
public OnRightClick ( Vector2 position, ClickState state, |
||
position | Vector2 | |
state | ClickState | |
time | ||
Résultat | void |
public OnScroll ( int scrollValue, |
||
scrollValue | int | |
time | ||
Résultat | void |
public SetHovered ( bool isHovered, |
||
isHovered | bool | |
time | ||
Résultat | void |