Свойство | Type | Description | |
---|---|---|---|
CurrentGamePadState | |||
CurrentKeyboardState | |||
LastGamePadState | |||
LastKeyboardState |
Méthode | Description | |
---|---|---|
IsNewKeyPress ( Keys key ) : bool |
Helper for checking if a key was newly pressed during this update.
|
|
Update ( ) : void |
Reads the latest state of the keyboard and gamepad.
|
public GamePadState,Microsoft.Xna.Framework.Input CurrentGamePadState | ||
Résultat |
public KeyboardState,Microsoft.Xna.Framework.Input CurrentKeyboardState | ||
Résultat |
public GamePadState,Microsoft.Xna.Framework.Input LastGamePadState | ||
Résultat |