diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-15 21:43:36 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-11-15 21:43:36 +0000 |
commit | 86db18d65a1c6e92b115efc3afe65f770ec93398 (patch) | |
tree | 9fedd710f689b3c9732f758330578b7b7347f391 /src/animatedsprite.h | |
parent | 2d7084e4f07cd56021ca47dc6124ed587883acc2 (diff) | |
download | mana-86db18d65a1c6e92b115efc3afe65f770ec93398.tar.gz mana-86db18d65a1c6e92b115efc3afe65f770ec93398.tar.bz2 mana-86db18d65a1c6e92b115efc3afe65f770ec93398.tar.xz mana-86db18d65a1c6e92b115efc3afe65f770ec93398.zip |
Separated getProperty method to an XML utility namespace.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 73dfa529..721a2824 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -28,8 +28,6 @@ #include <string> #include <SDL_types.h> -#include <libxml/tree.h> - class Action; class Graphics; class Spriteset; @@ -144,21 +142,6 @@ class AnimatedSprite getCurrentPhase() const; /** - * Gets an integer property from an xmlNodePtr. - * - * TODO: Same function is present in MapReader. Should probably be - * TODO: shared in a static utility class. - */ - static int - getProperty(xmlNodePtr node, const char *name, int def); - - /** - * Gets a string property from an xmlNodePtr. - */ - static std::string - getProperty(xmlNodePtr node, const char *name, const std::string &def); - - /** * Converts a string into a SpriteAction enum. */ static SpriteAction @@ -182,7 +165,6 @@ class AnimatedSprite Action *mAction; SpriteDirection mDirection; int mLastTime; - float mSpeed; }; #endif |