Switch love.timer.sleep to seconds

This commit is contained in:
Bart van Strien
2011-08-28 17:12:59 +02:00
parent 729cce93cd
commit 3d1fac07b2
5 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -88,9 +88,9 @@ namespace sdl
/**
* Tries to sleep for the specified amount of time. The precision is
* usually 1ms.
* @param ms The number of milliseconds to sleep for.
* @param seconds The number of seconds to sleep for.
**/
void sleep(int ms);
void sleep(float seconds);
/**
* Gets the time between the last two frames, assuming step is called