summaryrefslogtreecommitdiff
path: root/src/being/actor.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-05 01:35:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-05 01:35:02 +0300
commit097ef639a433f5d87d675ee7551a1640788031bd (patch)
tree6d38ea5a0b134e402d8824e15ee215351b594360 /src/being/actor.h
parent21b14e4b8708be1d9b804f61330ef7cd5521397d (diff)
downloadplus-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.h4
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; }
/**