diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-26 17:03:04 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-26 17:03:04 +0000 |
commit | cd42f593aa6cc236e1a9142fae7a711fd9841e6d (patch) | |
tree | 0fd4e4ca3c65a52dd9bd1009b1f10179737a9cb4 /src/being.h | |
parent | 3925d9c41709dece19fe60c0e4bb111247f1886e (diff) | |
download | mana-cd42f593aa6cc236e1a9142fae7a711fd9841e6d.tar.gz mana-cd42f593aa6cc236e1a9142fae7a711fd9841e6d.tar.bz2 mana-cd42f593aa6cc236e1a9142fae7a711fd9841e6d.tar.xz mana-cd42f593aa6cc236e1a9142fae7a711fd9841e6d.zip |
fixes for movement
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 567a0d98..a0475910 100644 --- a/src/being.h +++ b/src/being.h @@ -124,6 +124,11 @@ class Being : public Sprite void setDestination(int x, int y); /** + * Returns the destination for this being. + */ + const Vector &getDestination() const { return mDest; } + + /** * Adjusts course to expected stat point. */ void adjustCourse(int, int); |