mitiru::time

Namespace catalog extracted from docs/API_CATALOG.md (3 types, 18 items).

Namespace catalog extracted from docs/API_CATALOG.md (3 types, 18 items).

NameKindItems
Cooldownclass5
Sequenceclass6
Timerclass7
class Cooldown 5
explicit Cooldown(float duration) noexcept
void tick(float dt) noexcept
[[nodiscard]] bool ready() const noexcept
void trigger() noexcept
[[nodiscard]] float remaining() const noexcept
class Sequence 6
Sequence() = default
Sequence& wait(float seconds)
template <typename F> Sequence& action(F&& fn)
void tick(float dt)
[[nodiscard]] bool done() const noexcept
void reset() noexcept
class Timer 7
explicit Timer(float duration) noexcept
void tick(float dt) noexcept
[[nodiscard]] bool expired() const noexcept
[[nodiscard]] float remaining() const noexcept
[[nodiscard]] float progress() const noexcept
void reset() noexcept
void reset(float newDuration) noexcept

Sourced from docs/API_CATALOG.md, auto-generated by tools/generate_api_catalog.py.