Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
i_input.h
Go to the documentation of this file.
1#pragma once
2
6
7#include <map>
8
9class IInput {
10 public:
11 virtual ~IInput() = default;
12
18 virtual void register_events(std::map<KeyCode, KeyState>& key_states,
19 MouseState& mouse_state) = 0;
20};
Definition i_input.h:9
virtual ~IInput()=default
virtual void register_events(std::map< KeyCode, KeyState > &key_states, MouseState &mouse_state)=0
Registers necessary event listeners with the underlying system.
Aggregates all mouse-related state information.
Definition mouse_state.h:61