Returns an iterator for messages in the event queue.
i = love.event.poll( )
None.
function i
for e, a, b, c, d in love.event.poll() do if e == "quit" then -- Quit! end end
for e, a, b, c in love.event.poll() do if e == "q" then -- Quit! end end
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.event.poll