Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ addGlobalEventListener()

virtual void Flint::IWindow::addGlobalEventListener ( std::function< void(const AppEvent &)> callback)
pure virtual

Register a global event listener that receives every polled event.

Multiple listeners can be registered; they are called in registration order.

Parameters
callbackListener invoked for each AppEvent.

Implemented in Flint::SdlWindow.