Move the Timer::sleep implementation up from timer/sdl/Timer.cpp to timer/Timer.cpp, since it doesn't directly use any SDL-specific code.

This commit is contained in:
Alex Szpakowski
2016-03-18 23:01:49 -03:00
parent b983588d2e
commit 36cc48d306
4 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ public:
* usually 1ms.
* @param seconds The number of seconds to sleep for.
**/
virtual void sleep(double seconds) const = 0;
virtual void sleep(double seconds) const;
/**
* Gets the time between the last two frames, assuming step is called