summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-15 17:52:58 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-17 21:23:17 -0300
commitd4590344f4a4aa73ea5dda69d8becdf13ed789ff (patch)
treea6dffbad71c4bd6a654a48859211c6e329236bb9 /src
parent11b8dcdf2a5c775be309e5969b284898ba0ff2fa (diff)
Remove useless file
Diffstat (limited to 'src')
-rw-r--r--src/gnu_and_bola_brawlers/draw/draw.lua33
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