Difference between revisions of "love.event.poll"
m (acerto de links) |
|||
Line 8: | Line 8: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|function|i|Iterator function usable in for loop.}} | + | {{param|function (Português)|i|Iterator function usable in for loop.}} |
== Examples == | == Examples == | ||
=== Checking for events === | === Checking for events === |
Revision as of 08:05, 4 January 2011
Gets an iterator for messages in the event queue.
Contents
Function
Synopsis
i = love.event.poll( )
Arguments
None.
Returns
function (Português) i
- Iterator function usable in for loop.
Examples
Checking for events
for e,a,b,c in love.events.poll() do
if e == "q" then
-- Quit!
end
end
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