Factor timestep calculation out to Game function

This is so we can grab the game's timestep anywhere else in the codebase
without copy-pasting it.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-04-02 16:13:54 -04:00
1 parent f8f6f3b96e
commit f6ea05f521
3 files changed
+32 -30

No files matched your search

+1
View File
@@ -292,6 +292,7 @@ public:
bool colourblindmode;
bool noflashingmode;
int slowdown;
int get_timestep(void);
bool nodeathmode;
int gameoverdelay;