← API Reference Class

asge::time::_internal::TimeSystem

#include <Time.hpp>

Private Attributes

#Timepoint s_Previous {}private
#float s_Delta { 0.0f }private
#float s_UnscaledDelta { 0.0f }private
#float s_Elapsed {0.0f}private
#float s_Scale {1.0f}private
#bool s_Paused {false}private
#std::uint64_t s_FrameIndex {0}private
#std::uint64_t s_TargetFps {0}private

Private Member Functions

#TimeSystem()private

Static Public Member Functions

#static TimeSystem & Instance()

Public Member Functions

#void Tick() noexcept
#float Delta() const noexcept
#float UnscaledDelta() const noexcept
#float Elapsed() const noexcept
#std::uint64_t FrameIndex() const noexcept
#float Scale() const noexcept
#bool Paused() const noexcept
#std::uint64_t TargetFPS() const noexcept
#void Pause(bool inPause) noexcept
#void SetScale(float inScale) noexcept
#void SetTargetFPS(std::uint64_t inFps) noexcept