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;
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:62
Definition: bowling.hpp:38
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
SFXBase * m_roll_sfx
A sound effect for rolling ball.
Definition: bowling.hpp:50
Definition: flyable.hpp:50
A small interface for effects to be used when a kart is hit.
Definition: hit_effect.hpp:33
Definition: physical_object.hpp:40
The base class for sound effects.
Definition: sfx_base.hpp:43
utility class used to parse XML files
Definition: xml_node.hpp:48