X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FGameStates%2FPaused.cpp;h=e539f5f75c84362012ab8fd0d68b347fbe9db7c7;hb=60addc0838dad313d5d76247fa2665c20fea7689;hp=8f35c70a4ef991ab978bd1b987b250494bc880e6;hpb=8f8b6693595f6e3be9f43369e898e12539892e88;p=physics.git diff --git a/src/GameStates/Paused.cpp b/src/GameStates/Paused.cpp index 8f35c70..e539f5f 100644 --- a/src/GameStates/Paused.cpp +++ b/src/GameStates/Paused.cpp @@ -16,7 +16,7 @@ */ #include "Paused.h" -#include "../configs/paused_cfg.h" +#include "config/config.h" /// ***** Constructors/Destructors ***** @@ -31,24 +31,24 @@ Paused::~Paused() /// ***** Public Class Methods ***** -void Paused::handleInput(bool on_top) const +void Paused::handleInput(bool /*on_top*/) const { // TODO } -void Paused::update(float time_step, bool on_top) const +void Paused::update(float /*time_step*/, bool /*on_top*/) const { } -void Paused::draw(bool on_top) const +void Paused::draw(bool /*on_top*/) const { // TODO } bool Paused::pushMe() const { - return CFG::pause(); + return cfg::paused(); } bool Paused::popMe() const { - return CFG::unPause(); + return !cfg::paused(); }