Difference between revisions of "love.event.quit"
(Created page with "{{newin|0.8.0|080|type=function}} Exits the LÖVE program. This has the same effect as <code>love.event.push('q')</code>. == Function == === Synopsis === <source lang="lua">...") |
m (Fixed incorrect i8n link and set:Description) |
||
Line 22: | Line 22: | ||
* [[parent::love.event]] | * [[parent::love.event]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Exits the LÖVE program.}} |
+ | {{#set:Since=080}} | ||
== Other Languages == | == Other Languages == | ||
− | {{i18n|love. | + | {{i18n|love.event.quit}} |
Revision as of 10:28, 4 February 2012
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Exits the LÖVE program. This has the same effect as love.event.push('q')
.
Function
Synopsis
love.event.quit( )
Arguments
None.
Returns
Nothing.
Example
function love.keypressed(k)
if k == 'escape' then
love.event.quit()
end
end
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info