diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 02abf898..f670722c 100644 --- a/src/being.h +++ b/src/being.h @@ -321,9 +321,17 @@ class Being : public Sprite, public ConfigListener * Draws this being to the given graphics context. * * @see Sprite::draw(Graphics, int, int) + * + * TODO: The following two functions should be combined. + * at some point draw(), was changed to use mPx and mPy, with arugements + * only for the offset, drawSpriteAt() takes x, and y and draws the sprite + * exactly at those coords (though it does do some computing to work how the + * old draw() worked). */ virtual void draw(Graphics *graphics, int offsetX, int offsetY) const; + virtual void drawSpriteAt(Graphics *graphics, int x, int y) const; + /** * Set the alpha opacity used to draw the being. */ |