- [NEW] game::getTicks()

This commit is contained in:
JailDoctor committed 2023-10-18 19:00:08 +02:00
1 parent 8cb28f000d
commit 6b8a5213e6
2 files changed
+8

No files matched your search

+6
View File
@@ -29,6 +29,12 @@ namespace game
{
return config[key];
}
const uint32_t getTicks()
{
return SDL_GetTicks();
}
}
int main(int argc, char *argv[])
+2
View File
@@ -15,4 +15,6 @@ namespace game
void setConfig(const char* key, const int value);
const int getConfig(const char* key);
const uint32_t getTicks();
}