7#include <entt/entt.hpp>
28 [[nodiscard]]
explicit operator bool()
const
50 void tick(
double nowSeconds );
void cancelTimersFor(const Entities::Actor *owner)
std::function< void()> Callback
bool isEventStillValid(const TimerEvent &event) const
double getCurrentTimeSeconds() const
std::vector< TimerEvent > timers_
TimerHandle setTimer(double delaySeconds, Callback callback)
TimerManager(EngineKern *engine)
void insertTimer(TimerEvent event)
TimerHandle setActorTimer(Entities::Actor *owner, double delaySeconds, std::function< void(Entities::Actor &)> callback)
void tick(double nowSeconds)
double currentTimeSeconds_
void cancelTimer(TimerHandle handle)
An Actor is similar to an Engine::Entities::Entity. An actor is an Entity with a transform.
Manages IBL (Image-Based Lighting) resources for specular reflections.