| 50 | } |
| 51 | |
| 52 | void InputManager::SetInputData_(std::vector<SDL_Event>& events, const MouseState& mouse) { |
| 53 | auto ul = std::unique_lock<std::shared_mutex>(m_); |
| 54 | inputEvents_ = std::move(events); |
| 55 | mouse_ = mouse; |
| 56 | } |
| 57 | |
| 58 | Window::Window() : Window(1920, 1080) {} |
| 59 |