lovr.timer
EditThe lovr.timer
module provides a few functions that deal with time. All times are measured in seconds.
Functions
lovr.timer.getAverageDelta | Get the average delta over the last second. |
lovr.timer.getDelta | Get the time elapsed since the last update. |
lovr.timer.getFPS | Get the current frames per second. |
lovr.timer.getTime | Get the current time. |
lovr.timer.sleep | Go to sleep. |
lovr.timer.step | Steps the internal clock. |