mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Switch love.timer.sleep to seconds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user