sonic-radiance/sonic-radiance.love/scenes/overworld/screens/parent.lua

36 lines
564 B
Lua

local MenuScreenParent = Object:extend()
local menu = require "scenes.overworld.screens.menu"
function MenuScreenParent:new(scene)
self.scene = scene
self.menusystem = scene.menusystem
self.menuObj = menu
self.scene:registerScreen(self)
self:setMenu()
end
function MenuScreenParent:update(dt)
end
function MenuScreenParent:setMenu()
end
function MenuScreenParent:quit()
self.scene.menusystem:reset()
self.scene:quitScreen()
end
function MenuScreenParent:draw()
end
function MenuScreenParent:drawBackground()
end
return MenuScreenParent