love.timer (Română)

Oferă un sistem de cronometrare de înaltă precizie.

Funcții

love.timer.getAverageDelta Returns the average delta time over the last second. Added since 0.9.0
love.timer.getDelta Returns the time between the last two frames.
love.timer.getFPS Returns the current frames per second. Added since 0.2.1
love.timer.getMicroTime Returns the value of a timer with microsecond precision. Removed in 0.9.0
love.timer.getTime Returns the precise amount of time since some time in the past. Added since 0.3.2
love.timer.sleep Pauses the current thread for the specified amount of time. Added since 0.2.1
love.timer.step Measures the time between two frames.

Uită-te și la


Alte limbi