Difference between revisions of "love.event.wait"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Like love.event.poll, but blocks until there is an event in the queue.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 16: Line 16:
 
* [[parent::love.event]]
 
* [[parent::love.event]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Like love.event.poll, but blocks until there is an event in the queue.}}

Revision as of 16:17, 14 February 2010

Like love.event.poll, but blocks until there is an event in the queue.

Function

Synopsis

e, a, b, c = love.event.wait( )

Arguments

None.

Returns

Event e
The type of event.
mixed a
First event argument.
mixed b
Second event argument.
mixed c
Third event argument.

See Also