Describe the bug
If I create a NobleSprite with a spritesheet, it always renders at 0,0. I'm fairly certain this is a simple one-line fix but I wanted to make sure this wasn't intended behavior before making a PR.
To reproduce
local foo = NobleSprite("myImageTable", true)
foo:moveTo(150, 150)
foo:draw()
Expected behavior
I expect the animation to render at the sprite's location.
Screenshots/Code snippets
On this line, self.x and self.y should be passed to the draw method.
Describe the bug
If I create a NobleSprite with a spritesheet, it always renders at 0,0. I'm fairly certain this is a simple one-line fix but I wanted to make sure this wasn't intended behavior before making a PR.
To reproduce
Expected behavior
I expect the animation to render at the sprite's location.
Screenshots/Code snippets
On this line,
self.xandself.yshould be passed to thedrawmethod.