diff options
Diffstat (limited to 'src/gnu_and_bola_brawlers/main.lua')
-rw-r--r-- | src/gnu_and_bola_brawlers/main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gnu_and_bola_brawlers/main.lua b/src/gnu_and_bola_brawlers/main.lua index 40299a5..ed70047 100644 --- a/src/gnu_and_bola_brawlers/main.lua +++ b/src/gnu_and_bola_brawlers/main.lua @@ -1,6 +1,9 @@ function love.load() local load = require 'load/default' load.initialize() + + update = require 'update/default' + draw = require 'draw/default' end function love.keypressed(key, scancode) @@ -14,7 +17,6 @@ function love.keyreleased(key, scancode) end function love.update(dt) - local update = require 'update/default' update.time(dt) update.animation(metaSprite.bola, images.bola, dt) metaSprite.bola = update.motion(character.bola, images.bola, metaSprite.bola, dt) @@ -23,7 +25,6 @@ function love.update(dt) end function love.draw() - local draw = require 'draw/default' draw.refresh() draw.object(images.bola, character.bola) end |