29 #ifndef THOR_CALLBACKTIMER_HPP
30 #define THOR_CALLBACKTIMER_HPP
33 #include <Thor/Input/Detail/EventListener.hpp>
36 #include <SFML/System/Time.hpp>
77 virtual void reset(sf::Time timeLimit);
79 virtual void restart(sf::Time timeLimit);
104 Connection connect0(std::function<
void()> nullaryListener);
108 void clearConnections();
114 typedef detail::ListenerSequence< CallbackTimer& > ListenerCtr;
120 ListenerCtr mListeners;
128 #endif // THOR_CALLBACKTIMER_HPP
Definition: Animator.hpp:42
Configuration header of the library.
Class that maintains control over a registered object.
Definition: Connection.hpp:57
Clock class that has the semantics of a countdown timer.
Definition: Timer.hpp:46
Advanced timer with the ability to trigger function calls.
Definition: CallbackTimer.hpp:68