summaryrefslogtreecommitdiffhomepage
path: root/config/menus/pause.lua
blob: 74dd0437f6caff1eeb5ebe44dc0bd0bc2765839c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local menu = ...

local Button = require "not.Button"

local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale()
local bx = width/2-29

return {
	Button(menu)
		:setText("Unpause")
		:setPosition(bx, height - 36)
		:set("active", function () end)
	,
	Button(menu)
		:setText("Exit")
		:setPosition(bx, height - 20)
		:set("active", function () end)
	,
}