summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 22:06:58 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 22:06:58 +0300
commit9e77738e7c8a01e343c060a12f0d9d44a96874ed (patch)
treea233f74e925958cd991019d1c35671433b1adf9a /src/being/compoundsprite.h
parentd2c64cb6995486136be2cd511ff7ad835d57c319 (diff)
downloadplus-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.gz
plus-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.bz2
plus-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.xz
plus-9e77738e7c8a01e343c060a12f0d9d44a96874ed.zip
Split CompoundSprite::draw into draw and drawSimple.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index d50f20b2d..a1a0e9742 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -54,6 +54,10 @@ class CompoundSprite notfinal : public Sprite
const int posX,
const int posY) const override A_NONNULL(2);
+ void drawSimple(Graphics *const graphics,
+ const int posX,
+ const int posY) const A_NONNULL(2);
+
/**
* Gets the width in pixels of the first sprite in the list.
*/