31 using EventCallback = std::function<void(
const std::optional<sf::Event>&)>;
48 using SystemCallback = std::function<void(
EventReceiver*,
const std::optional<sf::Event>&)>;
Base class for all event-receiving traits.
std::function< void(const std::optional< sf::Event > &)> EventCallback
Callback type for event handlers that receive the raw SFML event.
std::function< void()> Callback
Callback type for no-argument event handlers.