Difference between revisions of "love.event.wait"

m (1 revision: Importing from potato (again).)
m (Some linkifying)
Line 1: Line 1:
 
+
Like [[love.event.poll]], but blocks until there is an event in the queue.
Like love.event.poll, but blocks until there is an event in the queue.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 20:46, 26 March 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