SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Stars Class Reference

This class is used to display rotating stars around a kart's head. More...

#include <stars.hpp>

Inheritance diagram for Stars:
Inheritance graph
[legend]

Public Member Functions

 Stars (AbstractKart *kart)
 
void showFor (float time)
 
void reset ()
 Resets the stars, esp.
 
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
 

Detailed Description

This class is used to display rotating stars around a kart's head.

Member Function Documentation

◆ reset()

void Stars::reset ( )

Resets the stars, esp.

disabling them at a restart.


The documentation for this class was generated from the following files: