Difference between revisions of "love.event.poll"
m (1 revision: Imported docs from potato.) |
|
(No difference)
|
Revision as of 15:54, 14 February 2010
Contents
Function
Synopsis
i = love.event.poll( )
Arguments
None.
Returns
function 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