Fixed a typo in the gamestate docs

Sorry about Atom doing its thing with empty lines...
This commit is contained in:
tesselode 2015-10-19 09:47:54 -04:00
parent 5e02dcdba2
commit 7713d054b3

View File

@ -101,6 +101,8 @@ corresponding LÖVE callbacks and receive receive the same arguments (e.g.
**Example**::
menu = {} -- previously: Gamestate.new()
function menu:init()
self.background = love.graphics.newImage('bg.jpg')
Buttons.initialize()
end
@ -346,4 +348,3 @@ This is by done by overwriting the love callbacks, e.g.::
Gamestate.registerEvents{'draw', 'update', 'quit'}
Gamestate.switch(menu)
end