Метод | Описание | |
---|---|---|
GetClickedKeys ( ) : Keys[] |
Get the currently clicked keys.
|
|
GetCurrentState ( ) : |
Get the current keyboard input state.
|
|
GetPastState ( ) : |
Get the past keyboard input state.
|
|
GetPressedKeys ( ) : Keys[] |
Get the currently pressed keys.
|
|
IsKeyClicked ( Keys key ) : bool |
Get if the specified key is clicked. This means that the key is down right now but wasn't always pressed down.
|
|
IsKeyPressed ( Keys key ) : bool |
Get if the specified key is pressed. This means that the key is down right now.
|
Метод | Описание | |
---|---|---|
Keyboard ( InputManager manager ) : System |
public GetCurrentState ( ) : |
||
Результат |
public GetPastState ( ) : |
||
Результат |
public IsKeyClicked ( Keys key ) : bool | ||
key | Keys | The key to check if clicked. |
Результат | bool |
public IsKeyPressed ( Keys key ) : bool | ||
key | Keys | The key to check if pressed. |
Результат | bool |