Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
IInput Class Referenceabstract

#include <i_input.h>

Inheritance diagram for IInput:
[legend]

Public Member Functions

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.
 

Constructor & Destructor Documentation

◆ ~IInput()

virtual IInput::~IInput ( )
virtualdefault

Member Function Documentation

◆ register_events()

virtual void IInput::register_events ( std::map< KeyCode, KeyState > &  key_states,
MouseState mouse_state 
)
pure virtual

Registers necessary event listeners with the underlying system.

Must be called during initialization to ensure input events are captured.

Implemented in SDLInputStrategy.


The documentation for this class was generated from the following file: