Свойство | Тип | Описание | |
---|---|---|---|
CurrentGamePadState | |||
CurrentKeyboardState | |||
LastGamePadState | |||
LastKeyboardState |
Метод | Описание | |
---|---|---|
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 | ||
Результат |
public KeyboardState,Microsoft.Xna.Framework.Input CurrentKeyboardState | ||
Результат |
public GamePadState,Microsoft.Xna.Framework.Input LastGamePadState | ||
Результат |