Available since LÖVE 0.6.0 |
This function is not supported in earlier versions. |
Returns an iterator for messages in the event queue.
i = love.event.poll( )
None.
function i
for n, a, b, c, d, e, f in love.event.poll() do if n == "quit" then -- Quit! end end
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