Pop.Box/main.lua

19 lines
384 B
Lua
Raw Normal View History

2015-11-18 03:27:06 +00:00
local pop = require "pop"
function love.load()
pop.box() -- returns the box element
-- or pop.create("box") (this is what is actually called when you call pop.box())
end
function love.draw()
pop.draw()
end
function love.mousepressed(button, x, y)
pop.mousepressed(button, x, y)
end
function love.mousereleased(button, x, y)
pop.mousereleased(button, x, y)
end