effects are now stored in a set, improved grav well control
[physics.git] / src / config / config.cpp
index 895c1d9..35efe4f 100644 (file)
@@ -48,9 +48,17 @@ bool cfg::endGame()
     return input::wasReleased(SDLK_ESCAPE);
 }
 
+bool cfg::mouseWellFollow()
+{
+    return input::isPressed(SDLK_f);
+}
 bool cfg::mouseWellOn()
 {
-    return input::isPressed(SDLK_SPACE);
+    return input::wasPressed(SDLK_SPACE);
+}
+bool cfg::mouseWellOff()
+{
+    return input::wasReleased(SDLK_SPACE);
 }
 
 /// ***** Private Methods *****