Difference between revisions of "love.timer"

Line 1: Line 1:
Cung cấp giao diện cho đồng hồ của máy tính.
+
Provides an interface to your system's clock.
== Hàm ==
+
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::love.timer]] [[Concept:Current]]
 
{{#ask: [[Category:Functions]] [[parent::love.timer]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
 
}}
 
}}
== Xem thêm ==
+
== See Also ==
* [[parent::love (Tiếng Việt)|love]]
+
* [[parent::love]]
 
[[Category:Modules]]
 
[[Category:Modules]]
{{#set:Description=Cung cấp giao diện cho đồng hồ của máy tính.}}
+
{{#set:Description=Provides an interface to your system's clock.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
== Ngôn ngữ khác ==
+
== Other Languages ==
 
{{i18n|love.timer}}
 
{{i18n|love.timer}}

Revision as of 10:11, 16 September 2012

Provides an interface to your system's clock.

Functions

love.timer.getAverageDeltaReturns the average delta time over the last second.
love.timer.getDeltaReturns the time between the last two frames.
love.timer.getFPSReturns the current frames per second.
love.timer.getMicroTimeReturns the value of a timer with microsecond precision.
love.timer.getTimeReturns the precise amount of time since some time in the past.
love.timer.sleepPauses the current thread for the specified amount of time.
love.timer.stepMeasures the time between two frames.

See Also


Other Languages