aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gui.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-01 23:51:40 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-01 23:55:30 +0000
commit177cd265947bfd9db20ad1a99ae07c76b6b4f147 (patch)
tree49af71e06770925abb0ab1fd2e89be077281b74c /lib/gui.moon
parentfirst-class scopes (diff)
downloadalive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.tar.gz
alive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.zip
macros and scopes
Diffstat (limited to 'lib/gui.moon')
-rw-r--r--lib/gui.moon2
1 files changed, 2 insertions, 0 deletions
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) ->