Updated doc/api.md for love.event()

This commit is contained in:
rxi
2017-01-13 22:09:14 +00:00
parent 094ff567ab
commit 7e3468289d

View File

@@ -8,6 +8,7 @@
* [love.keyboard](#lovekeyboard) * [love.keyboard](#lovekeyboard)
* [love.mouse](#lovemouse) * [love.mouse](#lovemouse)
* [love.filesystem](#lovefilesystem) * [love.filesystem](#lovefilesystem)
* [love.event](#loveevent)
##### [Objects](#objects-1) ##### [Objects](#objects-1)
* [Image](#image) * [Image](#image)
@@ -218,6 +219,11 @@ Reads and returns the contents of the file at `filename`.
Writes `string` to the given `filename` in the game's save directory. Writes `string` to the given `filename` in the game's save directory.
### love.event
##### love.event.quit([status])
Pushes the `quit` event with the given `status`. `status` is `0` by default.
## Objects ## Objects
### Image ### Image
A loaded image or canvas which can be drawn. A loaded image or canvas which can be drawn.