level1 = {} -- Level1 State Map = require("utils.map") -- imports require("utils.constants") local map = nil function level1:init() constants.resetColors() map = Map("level1") end function level1:enter(previous) end function level1:update(dt) map.update(dt) end function level1:draw() map.draw() --love.graphics.print("Level 1", 100, 200) end function level1:keypressed(key, scancode) end function level1:leave() map = nil end return level1