19#ifndef HEADER_STARS_HPP
20#define HEADER_STARS_HPP
22#include "utils/no_copy.hpp"
32 namespace scene {
class ISceneNode; }
57 float m_remaining_time;
62 void showFor(
float time);
64 void update (
float delta_t);
65 bool isEnabled()
const {
return m_enabled; }
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:62
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:26
This class is used to display rotating stars around a kart's head.
Definition: stars.hpp:41
core::vector3df m_center
Center around which stars rotate.
Definition: stars.hpp:51
scene::ISceneNode * m_parent_kart_node
The scene node of the kart to which the stars belong.
Definition: stars.hpp:48
bool m_enabled
Whether stars are currently enabled.
Definition: stars.hpp:54
void reset()
Resets the stars, esp.
Definition: stars.cpp:94
std::vector< scene::ISceneNode * > m_nodes
Vector containing the stars.
Definition: stars.hpp:45