Difference between revisions of "love.timer (Français)"

Line 1: Line 1:
 
Fournit une interface d'horloge pour l'utilisateur.
 
Fournit une interface d'horloge pour l'utilisateur.
 
== Fonctions ==
 
== Fonctions ==
{{#ask: [[Category:Functions]] [[parent::love.timer (Français)]]
+
{{#ask: [[Category:Functions]] [[parent::love.timer]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
Line 10: Line 10:
 
* [[parent::love (Français)]]
 
* [[parent::love (Français)]]
  
{{i18n|love.timer}}
+
{{i18n|love.timer (Français)}}

Revision as of 13:10, 25 October 2010

Fournit une interface d'horloge pour l'utilisateur.

Fonctions

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.

Voir aussi