Difference between revisions of "love.timer.getTime"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Returns the amount of time since some time in the past. | |
+ | This function should only be used to calculate differences between points in time, so exactly when this ''some time'' is should not matter. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 13: | Line 14: | ||
* [[parent::love.timer]] | * [[parent::love.timer]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Returns the amount of time since some time in the past. |
+ | }} |
Revision as of 16:17, 14 February 2010
Returns the amount of time since some time in the past. This function should only be used to calculate differences between points in time, so exactly when this some time is should not matter.
Function
Synopsis
time = love.timer.getTime( )
Arguments
None.
Returns
number time
- The time in seconds.