*/
#include "Paused.h"
-#include "../input/inputManager.h"
-
+#include "config/config.h"
/// ***** Constructors/Destructors *****
bool Paused::pushMe() const
{
- if (input::isPressed(SDLK_p))
- return true;
-
- return false;
+ return cfg::paused();
}
bool Paused::popMe() const
{
- if (input::isPressed(SDLK_p))
- return true;
-
- return false;
+ return !cfg::paused();
}