14 #ifndef GK_LIFETIMECOMPONENT_HPP_ 15 #define GK_LIFETIMECOMPONENT_HPP_ 62 #endif // GK_LIFETIMECOMPONENT_HPP_ void start()
Start the timer.
LifetimeComponent(u32 lifetime)
void setClientsNotified(bool areClientsNotified)
LifetimeComponent()=default
LifetimeComponent(DeathChecker deathChecker)
std::function< bool(const SceneObject &)> DeathChecker
DeathChecker m_deathChecker
void setDeathChecker(DeathChecker deathChecker)
u32 time() const
Get time.
bool areClientsNotified() const
bool dead(const SceneObject &object) const
bool m_areClientsNotified