Updated doc/api.md for love.event()
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user