2#include <entities/entity.h>
25 return SDL_GetTicks() - currFrameTime;
40 static uint64_t timeNow;
41 static uint64_t timeLast;
42 static double deltaTime;
43 static float timeScale;
44 static uint64_t currFrameTime;
An Entity is the base class for all data and behaviour oriented objects in meteor....
Definition entity.h:9
This class handles time function.
Definition time.h:9
static void setTimeScale(float val)
set time scale.
Definition time.h:37
static int getFrameTime()
Definition time.h:24
static double getDeltaTime()
returns the time between last and last-to-last frame.
Definition time.h:19
static void updateTime()
updates internal timer
static float getTimeScale()
Definition time.h:31