sonic-radiance/sonic-radiance.love/scenes/overworld/screens/mainmenu/common/charmenu.lua
2021-04-22 23:41:20 +02:00

12 lines
382 B
Lua

local baseMenu = require "game.modules.menus.parents.menu"
local CharacterMenu = baseMenu:extend()
local const = require "scenes.overworld.screens.mainmenu.const"
function CharacterMenu:new(scene, x)
local x = x or const.X + 136
local w = const.WIDTH - x + 28
CharacterMenu.super.new(self, scene, "character", x, const.Y, w, const.HEIGHT, 4)
end
return CharacterMenu