Difference between revisions of "love.event"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Manages events, like keypresses.
 
Manages events, like keypresses.
 
== Functions ==
 
== Functions ==
Line 15: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::love]]
 
* [[parent::love]]
 +
 +
== Other Languages ==
 +
{{i18n|love.event}}

Revision as of 08:45, 21 September 2010

Manages events, like keypresses.

Functions

love.event.clearClears the event queue.
love.event.pollReturns an iterator for messages in the event queue.
love.event.pumpPump events into the event queue.
love.event.pushAdds an event to the event queue.
love.event.quitExits or restarts the LÖVE program.
love.event.restartRestarts the game without relaunching the executable.
love.event.waitLike love.event.poll(), but blocks until there is an event in the queue.

Enums

EventArguments to love.event.push() and the like.

See Also

Other Languages