Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
i_input.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
engine/input/key_code.h
>
4
#include <
engine/input/key_state.h
>
5
#include <
engine/input/mouse_state.h
>
6
7
#include <map>
8
9
class
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
};
IInput
Definition
i_input.h:9
IInput::~IInput
virtual ~IInput()=default
IInput::register_events
virtual void register_events(std::map< KeyCode, KeyState > &key_states, MouseState &mouse_state)=0
Registers necessary event listeners with the underlying system.
key_code.h
key_state.h
mouse_state.h
MouseState
Aggregates all mouse-related state information.
Definition
mouse_state.h:61
include
engine
input
i_input.h
Generated by
1.9.8