Cleaned up gamestate fading

This commit is contained in:
grayson committed 2021-11-02 02:23:49 -05:00
1 parent 3e403681a3
commit a67fb47b46
5 files changed
+30 -29

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ void MainState::update(float deltaTime) {
setGravity(grav);
}
if (app->isKeyPressed(NFI_T)) {
grav = 1.0f;
grav = 2.0f;
setGravity(1.0f);
}
gravText.setText("Gravity Scale: " + std::to_string(grav));