19#ifndef HEADER_HIT_EFFECT_HPP
20#define HEADER_HIT_EFFECT_HPP
22#include "utils/no_copy.hpp"
A small interface for effects to be used when a kart is hit.
Definition: hit_effect.hpp:33
HitEffect()
Constructor for a hit effect.
Definition: hit_effect.hpp:41
bool m_local_player_kart_hit
True if this effect affected a player kart.
Definition: hit_effect.hpp:37
virtual bool updateAndDelete(int ticks)=0
Updates a hit effect.
virtual void setLocalPlayerKartHit()
Sets that this SFX affects a player kart, which can be used to make certain sfx louder/less loud.
Definition: hit_effect.hpp:52
bool getLocalPlayerKartHit() const
Returns if this effect affects a player kart.
Definition: hit_effect.hpp:55
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:26
A wrapper around bullets btVector3 to include conventient conversion functions (e....
Definition: vec3.hpp:35