@@ -182,6 +182,11 @@ namespace oxygine
return _counter;
}
+ bool Clock::isPaused() const
+ {
+ return _counter != 0;
+ }
+
std::string Clock::dump() const
{
std::stringstream stream;
@@ -21,6 +21,7 @@ namespace oxygine
/**returns current clock time in seconds*/
float getTimeF() const;
int getPauseCounter() const;
+ bool isPaused() const;
float getFixedStepF() const;
float getLastDTF() const;