19#ifndef HEADER_SHADOW_HPP
20#define HEADER_SHADOW_HPP
22#include "utils/no_copy.hpp"
30 class SPDynamicDrawCall;
51 std::shared_ptr<SP::SPDynamicDrawCall>
m_dy_dc;
53 irr::scene::IMeshSceneNode* m_node;
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:62
Definition: material.hpp:48
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 enable a shadow for a kart.
Definition: shadow.hpp:48
void update(bool enabled)
Updates the simulated shadow.
Definition: shadow.cpp:119
const AbstractKart & m_kart
A read-only kart object for accessing suspension length.
Definition: shadow.hpp:60
bool m_shadow_enabled
If a kart is flying, the shadow is disabled (since it is stuck to the kart, i.e.
Definition: shadow.hpp:57
std::shared_ptr< SP::SPDynamicDrawCall > m_dy_dc
The dynamic draw call of the shadow.
Definition: shadow.hpp:51