projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
effects are now stored in a set, improved grav well control
[physics.git]
/
src
/
config
/
config.cpp
diff --git
a/src/config/config.cpp
b/src/config/config.cpp
index
895c1d9
..
35efe4f
100644
(file)
--- a/
src/config/config.cpp
+++ b/
src/config/config.cpp
@@
-48,9
+48,17
@@
bool cfg::endGame()
return input::wasReleased(SDLK_ESCAPE);
}
return input::wasReleased(SDLK_ESCAPE);
}
+bool cfg::mouseWellFollow()
+{
+ return input::isPressed(SDLK_f);
+}
bool cfg::mouseWellOn()
{
bool cfg::mouseWellOn()
{
- return input::isPressed(SDLK_SPACE);
+ return input::wasPressed(SDLK_SPACE);
+}
+bool cfg::mouseWellOff()
+{
+ return input::wasReleased(SDLK_SPACE);
}
/// ***** Private Methods *****
}
/// ***** Private Methods *****