19 #ifndef HEADER_BOWLING_HPP 20 #define HEADER_BOWLING_HPP 24 namespace scene {
class IMesh; }
26 #include <irrString.h> 29 #include "items/flyable.hpp" 40 static float m_st_max_distance;
41 static float m_st_max_distance_squared;
42 static float m_st_force_to_target;
56 static void init(
const XMLNode &node, scene::IMesh *bowling);
57 virtual bool updateAndDelete(
int ticks) OVERRIDE;
59 virtual HitEffect *getHitEffect() const OVERRIDE;
61 virtual
void onFireFlyable() OVERRIDE;
A small interface for effects to be used when a kart is hit.
Definition: hit_effect.hpp:32
bool m_has_hit_kart
If a bowling ball has hit something, this flag is set to indicate if a kart was hit or not...
Definition: bowling.hpp:47
Definition: three_d_animation.hpp:32
Definition: bowling.hpp:37
Definition: physical_object.hpp:38
SFXBase * m_roll_sfx
A sound effect for rolling ball.
Definition: bowling.hpp:50
utility class used to parse XML files
Definition: xml_node.hpp:47
The base class for sound effects.
Definition: sfx_base.hpp:42
Definition: flyable.hpp:48
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:61