From 86db18d65a1c6e92b115efc3afe65f770ec93398 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 15 Nov 2006 21:43:36 +0000 Subject: Separated getProperty method to an XML utility namespace. --- src/animatedsprite.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/animatedsprite.h') 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 #include -#include - class Action; class Graphics; class Spriteset; @@ -143,21 +141,6 @@ class AnimatedSprite const AnimationPhase* 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. */ @@ -182,7 +165,6 @@ class AnimatedSprite Action *mAction; SpriteDirection mDirection; int mLastTime; - float mSpeed; }; #endif -- cgit v1.2.3-60-g2f50