galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Time.hpp File Reference
#include <chrono>
+ Include dependency graph for Time.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Animated.cpp galaxy.
 
namespace  galaxy::time
 

Functions

auto galaxy::time::now () noexcept -> std::chrono::local_time< std::chrono::system_clock::duration >
 Current local time.
 
void galaxy::time::dt (const double dt) noexcept
 Set galaxy delta time.
 
double galaxy::time::dt () noexcept
 Get galaxy delta time.