23 lines
423 B
Lua
23 lines
423 B
Lua
-- debug --
|
|
if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then
|
|
require("lldebugger").start()
|
|
end
|
|
|
|
-- libraries --
|
|
Object = require 'lib/classic/classic'
|
|
|
|
-- objects --
|
|
Circle = require 'obj/Circle'
|
|
HyperCircle = require 'obj/HyperCircle'
|
|
|
|
function love.load()
|
|
circle = HyperCircle(400, 300, 50, "fill", 10, 120)
|
|
end
|
|
|
|
function love.update(dt)
|
|
circle:update(dt)
|
|
end
|
|
|
|
function love.draw()
|
|
circle:draw()
|
|
end
|