Difference between revisions of "love.event"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Manages events, like keypresses. | |
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::love.event]] | {{#ask: [[Category:Functions]] [[parent::love.event]] | ||
Line 12: | Line 12: | ||
}} | }} | ||
[[Category:Modules]] | [[Category:Modules]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Manages events, like keypresses.}} |
== See Also == | == See Also == | ||
* [[parent::love]] | * [[parent::love]] |
Revision as of 16:17, 14 February 2010
Manages events, like keypresses.
Functions
love.event.clear | Clears the event queue. |
love.event.poll | Returns an iterator for messages in the event queue. |
love.event.pump | Pump events into the event queue. |
love.event.push | Adds an event to the event queue. |
love.event.quit | Exits or restarts the LÖVE program. |
love.event.restart | Restarts the game without relaunching the executable. |
love.event.wait | Like love.event.poll(), but blocks until there is an event in the queue. |
Enums
Event | Arguments to love.event.push() and the like. |