From 177cd265947bfd9db20ad1a99ae07c76b6b4f147 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 2 Feb 2020 00:51:40 +0100 Subject: macros and scopes --- lib/gui.moon | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/gui.moon') diff --git a/lib/gui.moon b/lib/gui.moon index 979854f..20d3bcc 100644 --- a/lib/gui.moon +++ b/lib/gui.moon @@ -1,5 +1,6 @@ { graphics: lg } = love import Op from require 'base' +import Registry from require 'registry' import Copilot from require 'copilot' class out extends Op @@ -31,6 +32,7 @@ class out extends Op lg.print name, x, MARGIN + HEIGHT + MARGIN x += WIDTH + MARGIN +env = Registry! copilot = Copilot arg[#arg], env love.update = (dt) -> -- cgit v1.2.3