Pop.Box/main.lua
Paul Liverman III 6255f30fa6 text element, fixed object creation
- inheritsFromElement improved
- fixed a couple bugs in element
- added inspect library
2017-01-10 12:57:02 -08:00

11 lines
219 B
Lua

local pop = require("")
pop.text("Hello World!"):align("center", "center")
love.draw = function()
return pop.draw()
end
love.keypressed = function(key)
if key == "escape" then
return love.event.quit()
end
end