Property | Type | Description | |
---|---|---|---|
Draw | void | ||
Update | void | ||
performScroll | void | ||
verticalRelativeItemPosition | |||
verticalRelativeItemSize |
Method | Description | |
---|---|---|
ItemBounds ( |
Die von der Auflösung unabhängigen Ausmaße der Menüeinträge.
|
|
Menu ( IScreen screen, DisplayLayer drawOrder ) : System.Diagnostics.CodeAnalysis |
Erzeugt eine neue Instanz eines VerticalMenu-Objekts und initialisiert diese mit dem zugehörigen IGameScreen-Objekt. Zudem ist die Angaben der Zeichenreihenfolge Pflicht.
|
|
OnLeftClick ( |
Tut nichts.
|
|
OnLeftMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnNoMove ( ScreenPoint currentPosition, |
||
OnRightClick ( |
Tut nichts.
|
|
OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnScroll ( int scrollValue, |
Die Reaktion auf eine Bewegung des Mausrads. Das Menü scrollt die Einträge.
|
|
SetHovered ( bool hovered, |
Tut nichts.
|
Method | Description | |
---|---|---|
assignMenuItemInformation ( |
Method | Description | |
---|---|---|
Draw ( |
||
Update ( |
||
performScroll ( ) : void | ||
verticalRelativeItemPosition ( int itemOrder ) : |
||
verticalRelativeItemSize ( int itemOrder ) : |
public ItemBounds ( |
||
item | ||
return |
public Menu ( IScreen screen, DisplayLayer drawOrder ) : System.Diagnostics.CodeAnalysis | ||
screen | IScreen | |
drawOrder | DisplayLayer | |
return | System.Diagnostics.CodeAnalysis |
public OnLeftClick ( |
||
position | ||
state | ClickState | |
time | ||
return | void |
public OnLeftMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public OnMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public OnNoMove ( ScreenPoint currentPosition, |
||
currentPosition | ScreenPoint | |
time | ||
return | void |
public OnRightClick ( |
||
position | ||
state | ClickState | |
time | ||
return | void |
public OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public OnScroll ( int scrollValue, |
||
scrollValue | int | |
time | ||
return | void |
public SetHovered ( bool hovered, |
||
hovered | bool | |
time | ||
return | void |
protected assignMenuItemInformation ( |
||
item | ||
return | void |