Loading...
Searching...
No Matches
Callback.h File Reference
#include <functional>
#include <SFML/Window/Event.hpp>

Go to the source code of this file.

Namespaces

namespace  ml

Typedefs

using ml::Callback = std::function<void()>
 Callback type for no-argument event handlers.
using ml::EventCallback = std::function<void(const std::optional<sf::Event>&)>
 Callback type for event handlers that receive the raw SFML event.