diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-02-11 17:35:26 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-13 08:39:03 +0000 |
| commit | 85df7feacac36f5cd058e86ff81b3f4aa9f0ded8 (patch) | |
| tree | adf72d8d77016eb8e9d211f256dbdc52d5f14350 /lib/gui.moon | |
| parent | add edge and pilot/* (diff) | |
| download | alive-85df7feacac36f5cd058e86ff81b3f4aa9f0ded8.tar.gz alive-85df7feacac36f5cd058e86ff81b3f4aa9f0ded8.zip | |
new Registry tagging mechanism
Diffstat (limited to 'lib/gui.moon')
| -rw-r--r-- | lib/gui.moon | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/gui.moon b/lib/gui.moon index 5ec7883..a2fee4b 100644 --- a/lib/gui.moon +++ b/lib/gui.moon @@ -2,7 +2,6 @@ assert love, "this module only works from within love2d!" { graphics: lg, keyboard: lk } = love import Op from require 'core' -import Registry from require 'registry' import Copilot from require 'copilot' import Logger from require 'logger' @@ -62,12 +61,10 @@ for a in *arg Logger.init arguments.log -env = Registry! -copilot = Copilot arguments[#arguments], env +copilot = Copilot arguments[#arguments] love.update = (dt) -> - copilot\poll! - env\update dt + copilot\update dt love.draw = -> out.draw_all! |
