|
SuperTuxKart
|
This class is used to display rotating stars around a kart's head. More...
#include <stars.hpp>

Public Member Functions | |
| Stars (AbstractKart *kart) | |
| void | showFor (float time) |
| void | reset () |
| Resets the stars, esp. More... | |
| void | update (float delta_t) |
| bool | isEnabled () const |
Private Attributes | |
| std::vector< scene::ISceneNode * > | m_nodes |
| Vector containing the stars. | |
| scene::ISceneNode * | m_parent_kart_node |
| The scene node of the kart to which the stars belong. | |
| core::vector3df | m_center |
| Center around which stars rotate. | |
| bool | m_enabled |
| Whether stars are currently enabled. | |
| float | m_period |
| float | m_remaining_time |
This class is used to display rotating stars around a kart's head.
| void Stars::reset | ( | ) |
Resets the stars, esp.
disabling them at a restart.