Class that is used for debug input. Wraps the Input class but only works when debug input is enabled.
More...
Class that is used for debug input. Wraps the Input class but only works when debug input is enabled.
bool Otter.DebugInput.KeyDown |
( |
Key |
k | ) |
|
Check if a key is down.
- Parameters
-
- Returns
- True if that key is down.
bool Otter.DebugInput.KeyPressed |
( |
Key |
k | ) |
|
Check if a key was pressed.
- Parameters
-
- Returns
- True if that key was pressed.
bool Otter.DebugInput.KeyReleased |
( |
Key |
k | ) |
|
Check if a key was released.
- Parameters
-
- Returns
- True if that key was released.
bool Otter.DebugInput.KeyUp |
( |
Key |
k | ) |
|
Check if a key is up.
- Parameters
-
- Returns
- True if that key is up.
bool Otter.DebugInput.Enabled |
Determines if debug input will be used. If false all checks will return false.
Game Otter.DebugInput.Game |
The documentation for this class was generated from the following file:
- Otter/Utility/DebugInput.cs