mirror of
https://github.com/usysrc/LICK.git
synced 2025-01-21 18:24:23 +00:00
feat: ✨ add load function to main.lua for initialization
This commit is contained in:
parent
2de9cf2015
commit
0e7c0d615e
5
main.lua
5
main.lua
@ -8,7 +8,6 @@ lick.clearPackages = true
|
|||||||
|
|
||||||
local divider = require "divider"
|
local divider = require "divider"
|
||||||
|
|
||||||
|
|
||||||
-- A couple of shortcuts
|
-- A couple of shortcuts
|
||||||
local lg = love.graphics
|
local lg = love.graphics
|
||||||
local sin, cos, pi = math.sin, math.cos, math.pi
|
local sin, cos, pi = math.sin, math.cos, math.pi
|
||||||
@ -40,3 +39,7 @@ function love.draw(dt)
|
|||||||
divider.draw()
|
divider.draw()
|
||||||
love.graphics.print(time)
|
love.graphics.print(time)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function load()
|
||||||
|
print("hi")
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user