diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 01:35:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 01:35:02 +0300 |
commit | 097ef639a433f5d87d675ee7551a1640788031bd (patch) | |
tree | 6d38ea5a0b134e402d8824e15ee215351b594360 /src/being/actor.h | |
parent | 21b14e4b8708be1d9b804f61330ef7cd5521397d (diff) | |
download | plus-097ef639a433f5d87d675ee7551a1640788031bd.tar.gz plus-097ef639a433f5d87d675ee7551a1640788031bd.tar.bz2 plus-097ef639a433f5d87d675ee7551a1640788031bd.tar.xz plus-097ef639a433f5d87d675ee7551a1640788031bd.zip |
Rename actor functions getPosition and setPosition.
Diffstat (limited to 'src/being/actor.h')
-rw-r--r-- | src/being/actor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actor.h b/src/being/actor.h index 875d162bb..0b83e46be 100644 --- a/src/being/actor.h +++ b/src/being/actor.h @@ -70,13 +70,13 @@ class Actor notfinal /** * Returns the pixel position of this actor. */ - const Vector &getPosition() const A_WARN_UNUSED + const Vector &getPixelPositionF() const A_WARN_UNUSED { return mPos; } /** * Sets the pixel position of this actor. */ - virtual void setPosition(const Vector &restrict pos) restrict2 + virtual void setPixelPositionF(const Vector &restrict pos) restrict2 { mPos = pos; } /** |