fixed non-used argument, compiler warnings
[physics.git] / src / GameStates / Paused.cpp
index 31cbb7a..e539f5f 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include "Paused.h"
-
+#include "config/config.h"
 
 /// ***** Constructors/Destructors *****
 
@@ -31,15 +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::paused();
+}
+bool Paused::popMe() const
+{
+    return !cfg::paused();
+}