| 17 | } |
| 18 | |
| 19 | std::vector<SDL_Event> InputManager::GetInputEventsLastFrame() const { |
| 20 | auto sl = std::shared_lock<std::shared_mutex>(m_); |
| 21 | return inputEvents_; |
| 22 | } |
| 23 | |
| 24 | MouseState InputManager::GetMouseStateLastFrame() const { |
| 25 | auto sl = std::shared_lock<std::shared_mutex>(m_); |