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:
parent
93c12ead08
commit
3ece963bc2
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user