Difference between revisions of "love.event.wait"
m (Some linkifying) |
(Formatted function()) |
||
Line 1: | Line 1: | ||
− | Like [[love.event.poll]], but blocks until there is an event in the queue. | + | Like <code>[[love.event.poll]]()</code>, but blocks until there is an event in the queue. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 15: | Line 15: | ||
* [[parent::love.event]] | * [[parent::love.event]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Like love.event.poll, but blocks until there is an event in the queue.}} | + | {{#set:Description=Like love.event.poll(), but blocks until there is an event in the queue.}} |
Revision as of 20:49, 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.