Difference between revisions of "love.update"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Callback function used to update the state of the game every frame.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[World:update]]
 
* [[World:update]]
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
{{#set:Description=}}
+
{{#set:Description=Callback function used to update the state of the game every frame.}}

Revision as of 16:17, 14 February 2010

Callback function used to update the state of the game every frame.

Function

Synopsis

love.update( dt )

Arguments

number dt
Time since the last update in seconds.

Returns

Nothing.

See Also