33 #include "../api_core.h"
34 #include "../System/cl_platform.h"
54 GameTime(
int ticks_per_second = 20,
int max_updates_per_second = 0);
61 float get_time_elapsed()
const;
64 int get_time_elapsed_ms()
const;
67 int get_ticks_elapsed()
const;
70 float get_tick_time_elapsed()
const;
73 int get_tick_time_elapsed_ms()
const;
79 float get_tick_interpolation_time()
const;
82 float get_updates_per_second()
const;
85 float get_current_time()
const;
88 ubyte64 get_current_time_microseconds()
const;
91 ubyte64 get_current_time_ms()
const;
111 std::shared_ptr<GameTime_Impl> impl;
unsigned long long ubyte64
Definition: cl_platform.h:66
Tracks time elapsed in various forms useful for games.
Definition: game_time.h:45