Pop.Box/main.moon

28 lines
490 B
Plaintext
Raw Normal View History

2016-08-02 23:30:59 +00:00
--- A demo program for Pop.Box.
--- @copyright Paul Liverman III (2016)
--- @license The MIT License (MIT)
2016-08-21 05:29:16 +00:00
pop = require ""
pop.text("Hello World!")\align "center", "center"
--- @todo finish writing callbacks!
love.draw = ->
pop.draw!
--pop.debugDraw!
love.keypressed = (key) ->
if key == "escape"
love.event.quit!
2016-08-02 23:30:59 +00:00
-- NOTE TEMPORARY
--inspect = require "lib/inspect/inspect"
--print inspect pop
2016-11-25 05:32:04 +00:00
return --this is to prevent default returning of last statement