diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-15 17:52:58 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-15 17:53:01 -0300 |
commit | bdf02f96883d4e4802ef387bcb54364c7e7dc03b (patch) | |
tree | be173e6c33c4db4df64cd47a5b84f5ca40353d9b | |
parent | c40d8c52960539cd14ba33e68810fbc6a16e7fd4 (diff) |
Remove useless file
-rw-r--r-- | src/gnu_and_bola_brawlers/draw/draw.lua | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/gnu_and_bola_brawlers/draw/draw.lua b/src/gnu_and_bola_brawlers/draw/draw.lua deleted file mode 100644 index b2163ca..0000000 --- a/src/gnu_and_bola_brawlers/draw/draw.lua +++ /dev/null @@ -1,33 +0,0 @@ -local draw = {} - ---Get current time and update several parameters (time, fps print...) -draw.refresh = function() - local currentTime = love.timer.getTime() - if nextTime <= currentTime then - nextTime = currentTime - return - end - - love.timer.sleep(nextTime - currentTime) - - love.graphics.scale(windowProfile.scale.x, windowProfile.scale.y) - - love.graphics.print('FPS: ' .. love.timer.getFPS(), 0, 0) -end - ---Draw an object using base image and character data in order to position, scale, etc... -draw.object = function(images, character) - love.graphics.draw( - images[1], - images.quad, - character.position.x, - character.position.y, - character.orientation, - character.scale.x, - character.scale.y, - character.origin.x, - character.origin.y - ) -end - -return draw |