Added: Static fps member to dolphin.cpp, auto-updated with engine->fps, made player movement multiplied by deltatime of last frame.
This commit is contained in:
@@ -33,6 +33,7 @@ public:
|
||||
void onUpdate();
|
||||
|
||||
Engine *engine;
|
||||
static float engineFPS;
|
||||
|
||||
private:
|
||||
LightBulb bulb;
|
||||
|
||||
Reference in New Issue
Block a user