diff --git a/doc/api.md b/doc/api.md index facd067..79ae865 100644 --- a/doc/api.md +++ b/doc/api.md @@ -8,6 +8,7 @@ * [love.keyboard](#lovekeyboard) * [love.mouse](#lovemouse) * [love.filesystem](#lovefilesystem) +* [love.event](#loveevent) ##### [Objects](#objects-1) * [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. +### love.event +##### love.event.quit([status]) +Pushes the `quit` event with the given `status`. `status` is `0` by default. + + ## Objects ### Image A loaded image or canvas which can be drawn.