#include <Key.h>
◆ Key()
Fling::Key::Key |
( |
const std::string & |
t_Name, |
|
|
UINT32 |
t_KeyCode |
|
) |
| |
|
inlineexplicit |
◆ ~Key()
◆ GetCode()
UINT32 Fling::Key::GetCode |
( |
| ) |
const |
|
inline |
◆ GetName()
const std::string& Fling::Key::GetName |
( |
| ) |
const |
|
inline |
◆ GetState()
◆ IsPressed()
bool Fling::Key::IsPressed |
( |
| ) |
const |
|
inline |
◆ IsUp()
bool Fling::Key::IsUp |
( |
| ) |
const |
|
inline |
◆ SetState()
void Fling::Key::SetState |
( |
KeyState |
t_NewState | ) |
|
|
inline |
Set the state of this key.
◆ m_KeyCode
The key code that is mapped to this key to the current platform.
◆ m_Name
std::string Fling::Key::m_Name |
|
private |
Name of this key binding.
◆ m_State
The current state of this key.
Updated when input is polled
The documentation for this class was generated from the following file:
- FlingEngine/Core/inc/Input/Key.h