diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:24:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:39:07 +0300 |
commit | 2521a791d764920c194e8fe299110e98dc2e5ab3 (patch) | |
tree | 9894d9cabae064e3ab8ab0d43864c152079a750d /src/being/compoundsprite.h | |
parent | 9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (diff) | |
download | plus-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.gz plus-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.bz2 plus-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.xz plus-2521a791d764920c194e8fe299110e98dc2e5ab3.zip |
Remove getter getSprite from compoundsprite.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r-- | src/being/compoundsprite.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 797ae767c..2966eec44 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -85,9 +85,6 @@ class CompoundSprite notfinal : public Sprite void setSprite(const size_t layer, Sprite *const sprite); - Sprite *getSprite(const size_t layer) const A_WARN_UNUSED - { return mSprites.at(layer); } - void removeSprite(const int layer); void clear(); @@ -127,6 +124,8 @@ class CompoundSprite notfinal : public Sprite int getStartTime() const A_WARN_UNUSED { return mStartTime; } + std::vector<Sprite*> mSprites; + private: void redraw() const; @@ -147,7 +146,6 @@ class CompoundSprite notfinal : public Sprite mutable int mOffsetY; int mStartTime; int mLastTime; - std::vector<Sprite*> mSprites; #ifndef USE_SDL2 mutable int mNextRedrawTime; #endif |