diff options
author | Aki <nthirtyone@gmail.com> | 2016-06-29 01:56:23 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-06-29 01:56:23 +0200 |
commit | f0effa29c282c72a09def0d5372dd7b7b9cd1623 (patch) | |
tree | 01ce9333dc9d6ac4d9633d602799beb99204c29c /main.lua | |
parent | 0100d534717fab40b41023b12d30bac90352522c (diff) | |
download | roflnauts-f0effa29c282c72a09def0d5372dd7b7b9cd1623.zip roflnauts-f0effa29c282c72a09def0d5372dd7b7b9cd1623.tar.gz roflnauts-f0effa29c282c72a09def0d5372dd7b7b9cd1623.tar.bz2 |
I don't know, really
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -24,7 +24,7 @@ require "controller" debug = false -- Load -function love.load () +function love.load() -- Graphics love.graphics.setBackgroundColor(189, 95, 93) love.graphics.setDefaultFilter("nearest", "nearest") @@ -71,12 +71,12 @@ function love.gamepadreleased(joystick, button) end -- Update -function love.update (dt) +function love.update(dt) Scene:update(dt) end -- KeyPressed -function love.keypressed (key) +function love.keypressed(key) -- Controllers for _,controller in pairs(Controllers) do controller:keypressed(key) @@ -104,9 +104,9 @@ function love.keyreleased(key) end -- Draw -function love.draw () +function love.draw() Scene:draw() if debug then love.graphics.print("Current FPS: "..tostring(love.timer.getFPS()), 10, 10) end -end
\ No newline at end of file +end |