diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:33:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:53:11 +0300 |
commit | 1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30 (patch) | |
tree | bd0c292da513a5e076217a378d0c820ca2d09724 /src/being/being.h | |
parent | 6ca3e7e52584261f9d43de1a68c09f20a762cac1 (diff) | |
download | manaverse-1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30.tar.gz manaverse-1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30.tar.bz2 manaverse-1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30.tar.xz manaverse-1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30.zip |
Split drawSpriteAt into drawPlayerSpriteAt and drawOtherSpriteAt.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/being/being.h b/src/being/being.h index 0b1797c38..dbdb58acb 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -645,10 +645,6 @@ class Being notfinal : public ActorSprite, const int x, const int y) const restrict2 A_NONNULL(2); - void drawSpriteAt(Graphics *restrict const graphics, - const int x, - const int y) const restrict2 A_NONNULL(2); - void setMoveTime() restrict2 noexcept { mMoveTime = cur_time; } @@ -997,6 +993,14 @@ class Being notfinal : public ActorSprite, void serverRemove() restrict2 noexcept; protected: + void drawPlayerSpriteAt(Graphics *restrict const graphics, + const int x, + const int y) const restrict2 A_NONNULL(2); + + void drawOtherSpriteAt(Graphics *restrict const graphics, + const int x, + const int y) const restrict2 A_NONNULL(2); + /** * Updates name's location. */ |