projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grav well only follows mouse when space is pressed
[physics.git]
/
src
/
config
/
config.cpp
diff --git
a/src/config/config.cpp
b/src/config/config.cpp
index
ae569fa
..
895c1d9
100644
(file)
--- a/
src/config/config.cpp
+++ b/
src/config/config.cpp
@@
-48,4
+48,9
@@
bool cfg::endGame()
return input::wasReleased(SDLK_ESCAPE);
}
+bool cfg::mouseWellOn()
+{
+ return input::isPressed(SDLK_SPACE);
+}
+
/// ***** Private Methods *****