9 #ifndef TurtleBrains_GameTimer_hpp
10 #define TurtleBrains_GameTimer_hpp
12 #include <turtle_brains/core/tb_types.hpp>
Definition: tb_game_timer.hpp:26
GameTimer(const GameTimer &other)
static void SetMillisecondsPerStep(const Milliseconds &millisecondsPerStep)
static Milliseconds ToMilliseconds(const float &valueSeconds)
bool IncrementStep(const GameTimer &maximumValue=Infinity())
const Milliseconds & GetElapsedTime(void) const
static Milliseconds GetMillisecondsPerStep(void)
GameTimer & operator=(const GameTimer &other)
const Milliseconds & GetRemainingTime(void) const
static float ToSeconds(const Milliseconds &valueMilliseconds)
static GameTimer Zero(void)
tbCore::uint32 Milliseconds
Definition: tb_game_timer.hpp:31
static GameTimer Infinity(void)
float GetPercentageOf(const GameTimer &timeValue) const
static float GetSecondsPerStep(void)
GameTimer(const Milliseconds &valueMilliseconds)
std::uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1).
Definition: tb_types.hpp:27
This is the heart of TurtleBrains for game developers to create GameScenes and Entities to interact w...
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:22