*/
#include "Paused.h"
-#include "../input/inputManager.h"
-
+#include "../configs/paused_cfg.h"
/// ***** Constructors/Destructors *****
bool Paused::pushMe() const
{
- if (input::wasPressed(SDLK_p))
- return true;
-
- return false;
+ return CFG::pause();
}
bool Paused::popMe() const
{
- if (input::wasPressed(SDLK_p))
- return true;
-
- return false;
+ return CFG::unPause();
}