requires tserial module, minor set up for serizlation

This commit is contained in:
0x81c 2015-03-16 09:06:51 -04:00
parent cd2e0d862a
commit 7fa31726f4
3 changed files with 20 additions and 6 deletions

View file

@ -1,6 +1,5 @@
love.graphics.setDefaultFilter("linear", "nearest")
class = require "libs/middleclass"
Timer = require "libs/hump/timer"
sfxr = require "libs/sfxrlua/sfxr"
@ -33,8 +32,8 @@ function love.load()
end
function love.update(dt)
Input:handler()
currentRoom:update()
Input:handler(dt)
currentRoom:update(dt)
if love.keyboard.isDown("w") then worldSha = worldSha + 1 end
if love.keyboard.isDown("s") then worldSha = worldSha - 1 end