![]() |
Dragonfly 4.22
A text-based game engine
|

Public Member Functions | |
| virtual void | setKey (Keyboard::Key new_key) |
| virtual Keyboard::Key | getKey () const |
| virtual void | setKeyboardAction (EventKeyboardAction new_action) |
| virtual EventKeyboardAction | getKeyboardAction () const |
Public Member Functions inherited from df::Event | |
| Event () | |
| virtual | ~Event () |
| void | setType (std::string new_type) |
| std::string | getType () const |
Private Attributes | |
| Keyboard::Key | m_key_val |
| EventKeyboardAction | m_keyboard_action |
|
virtual |
Get key from event.
|
virtual |
Get keyboard event action.
|
virtual |
Set key in event.
|
virtual |
Set keyboard event action.
|
private |
Key value.
|
private |
Key action.