love.timer (Tiếng Việt)

Cung cấp giao diện cho đồng hồ của máy tính.

Hàm

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

Xem thêm


Ngôn ngữ khác

Personal tools