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

#include <sdl_input_strategy.h>

Inheritance diagram for SDLInputStrategy:
[legend]

Public Member Functions

void register_events (std::map< KeyCode, KeyState > &key_states, MouseState &mouse_state) override
 Registers necessary event listeners with the underlying system.
 
- Public Member Functions inherited from IInput
virtual ~IInput ()=default
 

Member Function Documentation

◆ register_events()

void SDLInputStrategy::register_events ( std::map< KeyCode, KeyState > &  key_states,
MouseState mouse_state 
)
overridevirtual

Registers necessary event listeners with the underlying system.

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

Implements IInput.


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