Cleaned up gamestate fading
This commit is contained in:
1 parent
3e403681a3
commit
a67fb47b46
5 files changed
+30
-29
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user