diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 00:15:27 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-05 20:43:04 -0700 |
commit | 4b540f3007e18a85a6d31d301526217393792451 (patch) | |
tree | 0cd424a18cf65505e32507a9c356a7182f0a489d /src/being.h | |
parent | b6e7b6c6cb3ea26157e3a78713cc9621dc46b2d7 (diff) | |
download | mana-4b540f3007e18a85a6d31d301526217393792451.tar.gz mana-4b540f3007e18a85a6d31d301526217393792451.tar.bz2 mana-4b540f3007e18a85a6d31d301526217393792451.tar.xz mana-4b540f3007e18a85a6d31d301526217393792451.zip |
Renamed PATH_NODE to Position as on mainline
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/being.h b/src/being.h index ccb1c4c4..54c9d717 100644 --- a/src/being.h +++ b/src/being.h @@ -33,6 +33,7 @@ #include "effectmanager.h" #include "map.h" #include "particlecontainer.h" +#include "position.h" #include "sprite.h" #include "gui/speechbubble.h" @@ -52,24 +53,6 @@ class Particle; class SpeechBubble; class Text; -/** - * A position along a being's path. - */ -struct PATH_NODE -{ - /** - * Constructor. - */ - PATH_NODE(unsigned short x, unsigned short y): - x(x), y(y) - { } - - unsigned short x; - unsigned short y; -}; -typedef std::list<PATH_NODE> Path; -typedef Path::iterator PathIterator; - enum Gender { GENDER_MALE = 0, GENDER_FEMALE = 1, |