Difference between revisions of "love.event.wait"
(Add in fourth event argument, the fifth return value) |
(love.event uses Variant, and doesn't accept all types) |
||
Line 9: | Line 9: | ||
=== Returns === | === Returns === | ||
{{param|Event|e|The type of event.}} | {{param|Event|e|The type of event.}} | ||
− | {{param| | + | {{param|Variant|a|First event argument.}} |
− | {{param| | + | {{param|Variant|b|Second event argument.}} |
− | {{param| | + | {{param|Variant|c|Third event argument.}} |
− | {{param| | + | {{param|Variant|d|Fourth event argument.}} |
== See Also == | == See Also == | ||
* [[parent::love.event]] | * [[parent::love.event]] |
Revision as of 11:13, 31 January 2017
Like love.event.poll()
, but blocks until there is an event in the queue.
Function
Synopsis
e, a, b, c, d = love.event.wait( )
Arguments
None.
Returns
Event e
- The type of event.
Variant a
- First event argument.
Variant b
- Second event argument.
Variant c
- Third event argument.
Variant d
- Fourth event argument.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info