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