* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "paused_cfg.h"
+#include "config.h"
#include "../input/inputManager.h"
/// ***** Private Method Headers *****
/// ***** Initializers/Cleaners *****
+void cfg::init()
+{
+ // TODO read in config files
+}
+void cfg::clean()
+{
+ // TODO save to config files?
+}
+
/// ***** Public Methods *****
-bool CFG::pause()
+bool cfg::pause()
{
return input::wasPressed(SDLK_p);
}
-bool CFG::unPause()
+bool cfg::unPause()
{
return input::wasPressed(SDLK_p);
}
+bool cfg::endGame()
+{
+ return input::wasReleased(SDLK_ESCAPE);
+}
+
/// ***** Private Methods *****