Made destructor virtual (and some cosmetical changes).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-01-27 12:29:35 +00:00
parent 0fa80bd594
commit c25297b7a3

View File

@ -37,15 +37,15 @@ private:
core::matrix4 *m_matrix;
public:
MovingTexture(core::matrix4 *matrix, const XMLNode &node);
MovingTexture(core::matrix4 *matrix, float dx, float dy);
MovingTexture(float dx, float dy);
~MovingTexture();
MovingTexture(core::matrix4 *matrix, const XMLNode &node);
MovingTexture(core::matrix4 *matrix, float dx, float dy);
MovingTexture(float dx, float dy);
virtual ~MovingTexture();
/** Sets the speed of the animation. */
void setSpeed(float dx, float dy) {m_dx = dx; m_dy = dy;}
void setSpeed(float dx, float dy) {m_dx = dx; m_dy = dy;}
/** Sets the texture matrix. */
void setTextureMatrix(core::matrix4 *matrix) {m_matrix=matrix;}
void setTextureMatrix(core::matrix4 *matrix) {m_matrix=matrix;}
virtual void update (float dt);
virtual void reset ();
}