summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 18:50:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 18:50:18 +0300
commit8a8ef403f70b43458f90b6192ce8cedcf2c9a209 (patch)
treee20104d00dd25ba04d37bb8e3aef36891cb925a1 /src/being/being.h
parentac56a47abb8b6a2dc184e1a39c3c7989fd135550 (diff)
downloadplus-8a8ef403f70b43458f90b6192ce8cedcf2c9a209.tar.gz
plus-8a8ef403f70b43458f90b6192ce8cedcf2c9a209.tar.bz2
plus-8a8ef403f70b43458f90b6192ce8cedcf2c9a209.tar.xz
plus-8a8ef403f70b43458f90b6192ce8cedcf2c9a209.zip
Separate Being::draw function into drawPlayer and drawOther.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 8d95205fd..7c3860220 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -631,6 +631,16 @@ class Being notfinal : public ActorSprite,
const int offsetY) const
restrict2 override final A_NONNULL(2);
+ void drawPlayer(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const
+ restrict2 A_NONNULL(2);
+
+ void drawOther(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const
+ restrict2 A_NONNULL(2);
+
void drawBasic(Graphics *restrict const graphics,
const int x,
const int y) const restrict2 A_NONNULL(2);