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).
| Name | Kind | Items |
|---|---|---|
Cooldown | class | 5 |
Sequence | class | 6 |
Timer | class | 7 |
class Cooldown 5
explicit Cooldown(float duration) noexceptvoid tick(float dt) noexcept[[nodiscard]] bool ready() const noexceptvoid trigger() noexcept[[nodiscard]] float remaining() const noexceptclass Sequence 6
Sequence() = defaultSequence& wait(float seconds)template <typename F> Sequence& action(F&& fn)void tick(float dt)[[nodiscard]] bool done() const noexceptvoid reset() noexceptclass Timer 7
explicit Timer(float duration) noexceptvoid tick(float dt) noexcept[[nodiscard]] bool expired() const noexcept[[nodiscard]] float remaining() const noexcept[[nodiscard]] float progress() const noexceptvoid reset() noexceptvoid reset(float newDuration) noexceptSourced from docs/API_CATALOG.md, auto-generated by tools/generate_api_catalog.py.