Manage a key event.
More...
#include <NRE_KeyEvent.hpp>
NRE::Event::KeyEvent::KeyEvent |
( |
| ) |
|
|
delete |
NRE::Event::KeyEvent::KeyEvent |
( |
KeyCode |
c | ) |
|
Construct the event from the key code
- Parameters
-
NRE::Event::KeyEvent::KeyEvent |
( |
KeyEvent const & |
e | ) |
|
|
default |
Copy e into this
- Parameters
-
NRE::Event::KeyEvent::KeyEvent |
( |
KeyEvent && |
e | ) |
|
|
default |
Move e into this
- Parameters
-
NRE::Event::KeyEvent::~KeyEvent |
( |
| ) |
|
|
default |
KeyCode NRE::Event::KeyEvent::getCode |
( |
| ) |
const |
|
inline |
bool NRE::Event::KeyEvent::isCode |
( |
KeyCode |
c | ) |
const |
|
inline |
Compare the event code to the given one
- Parameters
-
- Returns
- the test's result
Copy e into this
- Parameters
-
e | the object to copy into this |
- Returns
- the reference of himself
Copy e into this
- Parameters
-
e | the object to copy into this |
- Returns
- the reference of himself
The documentation for this class was generated from the following file:
- /mnt/c/Users/abell/Documents/GitHub/NRE-System/src/System/Event/Event/Key/NRE_KeyEvent.hpp