projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed all ../ entries and made a basic inc path (dependencies are currently broke)
[physics.git]
/
src
/
GameStates
/
Paused.cpp
diff --git
a/src/GameStates/Paused.cpp
b/src/GameStates/Paused.cpp
index
31cbb7a
..
f2982b1
100644
(file)
--- a/
src/GameStates/Paused.cpp
+++ b/
src/GameStates/Paused.cpp
@@
-16,7
+16,7
@@
*/
#include "Paused.h"
-
+#include "config/config.h"
/// ***** Constructors/Destructors *****
@@
-43,3
+43,12
@@
void Paused::draw(bool on_top) const
{
// TODO
}
+
+bool Paused::pushMe() const
+{
+ return cfg::paused();
+}
+bool Paused::popMe() const
+{
+ return !cfg::paused();
+}