summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua
blob: 43266bb3c1168364bca65ff92f0bc3e2e5cc9f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
game.draw = function(metaSprites, quad, character)
  love.graphics.draw(
    metaSprites.image,
    quad,
    character.position.x,
    character.position.y,
    character.orientation,
    character.scale.x,
    character.scale.y,
    character.origin.x,
    character.origin.y
  )
end