Lowered dependencies of Star (now accepts any scene node, no more uselessly requires an animated mesh)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-02-24 22:10:27 +00:00
parent 93c12ead08
commit 3ece963bc2
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ const int STAR_AMOUNT = 7;
const float RADIUS = 0.7f;
const float STAR_SIZE = 0.4f;
Stars::Stars(scene::IAnimatedMeshSceneNode* parentKart)
Stars::Stars(scene::ISceneNode* parentKart)
{
m_parent_kart_node = parentKart;
m_enabled = false;

View File

@ -45,7 +45,7 @@ private:
float m_remaining_time;
public:
Stars (scene::IAnimatedMeshSceneNode* parentKart);
Stars (scene::ISceneNode* parentKart);
~Stars ();
void showFor(float time);
void reset();