From 097ef639a433f5d87d675ee7551a1640788031bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Mar 2016 01:35:02 +0300 Subject: Rename actor functions getPosition and setPosition. --- src/being/being.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 2f03bd877..dd0c64af0 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -481,17 +481,17 @@ class Being notfinal : public ActorSprite, A_WARN_UNUSED { return mSpriteDirection; } - void setPosition(const Vector &restrict pos) restrict2 override; + void setPixelPositionF(const Vector &restrict pos) restrict2 override; /** * Overloaded method provided for convenience. * * @see setPosition(const Vector &pos) */ - inline void setPosition(const float x, - const float y, - const float z = 0.0F) restrict2 A_INLINE - { setPosition(Vector(x, y, z)); } + inline void setPixelPositionF(const float x, + const float y, + const float z = 0.0F) restrict2 A_INLINE + { setPixelPositionF(Vector(x, y, z)); } /** * Returns the horizontal size of the current base sprite of the being. -- cgit v1.2.3-70-g09d2