From 7e3468289dda7d805bd532f358e16493d30e76b3 Mon Sep 17 00:00:00 2001 From: rxi Date: Fri, 13 Jan 2017 22:09:14 +0000 Subject: [PATCH] Updated doc/api.md for love.event() --- doc/api.md | 6 ++++++ 1 file changed, 6 insertions(+) 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.