diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:26:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:55:05 +0300 |
commit | 53ccb4e767914782172c09ead9076f9fccaa5253 (patch) | |
tree | 2bcf886b7c0b25c4a757892148fcd5c3778403ea /src/being/being.h | |
parent | e03f294796e1cd8d49d00fd86dc33959948924c7 (diff) | |
download | plus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.gz plus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.bz2 plus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.xz plus-53ccb4e767914782172c09ead9076f9fccaa5253.zip |
Add setTempSprite method into Being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/being/being.h b/src/being/being.h index 6bfd13fc3..ccabeb36c 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -324,16 +324,20 @@ class Being notfinal : public ActorSprite, std::string color, ItemColor colorId, const IsWeapon isWeapon, - const IsTempSprite isTempSprite, - const int *const cards) - restrict2; + const int *const cards) restrict2; + + void setTempSprite(const unsigned int slot, + const int id, + std::string color, + ItemColor colorId, + const IsWeapon isWeapon, + const int *const cards) restrict2; void updateSprite(const unsigned int slot, const int id, const std::string &restrict color = "", const ItemColor colorId = ItemColor_one, - const IsWeapon isWeapon = IsWeapon_false, - const IsTempSprite isTempSprite = IsTempSprite_false) + const IsWeapon isWeapon = IsWeapon_false) restrict2; void setSpriteID(const unsigned int slot, |