diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-24 22:47:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-24 22:47:33 +0300 |
commit | ba2ad8131522e3bba0570580fdee3d5f3e0b7ffa (patch) | |
tree | 654ad26eb4212105ee64c9bd51e334eb05a22c2e /src/being/being.h | |
parent | 1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9 (diff) | |
download | plus-ba2ad8131522e3bba0570580fdee3d5f3e0b7ffa.tar.gz plus-ba2ad8131522e3bba0570580fdee3d5f3e0b7ffa.tar.bz2 plus-ba2ad8131522e3bba0570580fdee3d5f3e0b7ffa.tar.xz plus-ba2ad8131522e3bba0570580fdee3d5f3e0b7ffa.zip |
Add support for spirit balls effect.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h index 10e1b8482..bab1cc254 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -921,8 +921,7 @@ class Being notfinal : public ActorSprite, std::string getBuyBoard() const A_WARN_UNUSED { return mBuyBoard; } - void setSpiritBalls(const unsigned int balls) - { mSpiritBalls = balls; } + void setSpiritBalls(const unsigned int balls); unsigned int getSpiritBalls() const A_WARN_UNUSED { return mSpiritBalls; } @@ -1081,6 +1080,11 @@ class Being notfinal : public ActorSprite, std::vector<int> &slotRemap, const int val); + void addSpiritBalls(const unsigned int balls, + const int effectId); + + void removeSpiritBalls(const unsigned int balls); + void dumpSprites() const; const ActorTypeT mType; @@ -1112,6 +1116,7 @@ class Being notfinal : public ActorSprite, HorseInfo *mHorseInfo; std::vector<AnimatedSprite*> mDownHorseSprites; std::vector<AnimatedSprite*> mUpHorseSprites; + std::vector<Particle*> mSpiritParticles; #endif int mX; // position in tiles |