Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
input_manager.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <memory>
7
13 public:
14 [[nodiscard]] const IInputProvider& provider() const;
15 void set_provider(std::unique_ptr<IInputProvider> provider) noexcept;
16 void update();
17
18 private:
19 std::unique_ptr<IInputProvider> provider_ = nullptr;
20};
Definition iEngineService.h:4
Interface for querying low-level keyboard input.
Definition i_input_provider.h:20
Centralized input manager that delegates to an external input provider.
Definition input_manager.h:12
const IInputProvider & provider() const
void set_provider(std::unique_ptr< IInputProvider > provider) noexcept