local player = require "player" local mansion = require "mansion" print(string.pack) local current_room function love.load() mansion.load() current_room = mansion -- this should go in load_room or something current_room.world:add("player", player.x, player.y, 10,10) end function love.update(dt) player:move(dt,current_room.world) end function love.draw() love.graphics.clear(1,1,1) mansion.draw() player:draw() end