|
wren
Vulkan-based game engine
|
#include <input.hpp>
Public Member Functions | |
| void | initialize (event::Dispatcher &dispatcher) |
| auto | is_pressed (KeyCode key) const -> bool |
| auto | is_pressed_down (KeyCode key) const -> bool |
| auto | end_frame () |
Private Attributes | |
| std::unordered_map< KeyCode, bool > | pressed_ |
| std::unordered_map< KeyCode, bool > | pressed_down_ |
|
inline |
| void wren::Input::initialize | ( | event::Dispatcher & | dispatcher | ) |

| auto wren::Input::is_pressed | ( | KeyCode | key | ) | const -> bool |
| auto wren::Input::is_pressed_down | ( | KeyCode | key | ) | const -> bool |
|
private |
|
private |