summaryrefslogtreecommitdiffhomepage
path: root/config/menustart.lua
blob: 46015a9d4e4fb8f02b3136702aa77cd67b675de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
local menu = ...

local button = require "button"

return {
	button:new(menu)
		:setText("Go back")
		:setPosition(10,40)
		:set("active", function ()
				changeScene(Menu:new("menumain"))
			end)
	,
}