local fennel = require "fennel" table.insert(package.loaders or package.searchers, fennel.searcher) local player = require "player" local mansion = require "mansion" 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