Property | Type | Description | |
---|---|---|---|
Close | Action |
Property | Type | Description | |
---|---|---|---|
spriteBatch |
Method | Description | |
---|---|---|
Dialog ( IScreen screen, DisplayLayer drawOrder, string title ) : System |
Erzeugt ein neues Dialog-Objekt und initialisiert dieses mit dem zugehörigen IGameScreen-Objekt. Zudem sind Angaben zur Zeichenreihenfolge, einer Zeichenkette für den Titel und für den eingeblendeten Text Pflicht. [base=screen, drawOrder]
|
|
OnKeyEvent ( List |
Durch Drücken der Entertaste wird die ausgewählte Aktion ausgeführt. Durch Drücken der Escape-Taste wird der Dialog abgebrochen. Mit Hilfe der Pfeiltasten kann zwischen den Aktionen gewechselt werden.
|
|
OnLeftClick ( Vector2 position, ClickState state, |
Bei einem Linksklick geschieht nichts.
|
|
OnLeftMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnNoMove ( ScreenPoint currentPosition, |
||
OnRightClick ( Vector2 position, ClickState state, |
Bei einem Rechtsklick geschieht nichts.
|
|
OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
SetHovered ( bool hovered, |
||
SubComponents ( |
Method | Description | |
---|---|---|
Draw ( |
public Dialog ( IScreen screen, DisplayLayer drawOrder, string title ) : System | ||
screen | IScreen | |
drawOrder | DisplayLayer | |
title | string | |
return | System |
public OnKeyEvent ( List |
||
key | List |
|
keyEvent | KeyEvent | |
time | ||
return | void |
public OnLeftClick ( Vector2 position, ClickState state, |
||
position | Vector2 | |
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 ( Vector2 position, ClickState state, |
||
position | Vector2 | |
state | ClickState | |
time | ||
return | void |
public OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public SetHovered ( bool hovered, |
||
hovered | bool | |
time | ||
return | void |
public SubComponents ( |
||
time | ||
return | IEnumerable |