9 #ifndef TurtleBrains_ParticleEmitter_hpp
10 #define TurtleBrains_ParticleEmitter_hpp
12 #include <turtle_brains/graphics/unstable/tb_particle_manager.hpp>
13 #include <turtle_brains/graphics/tb_graphic_list.hpp>
15 #include <turtle_brains/core/tb_types.hpp>
16 #include <turtle_brains/math/tb_vector.hpp>
31 class ParticleEmitter :
public Graphic
35 virtual ~ParticleEmitter(
void);
37 void StartEmitter(
void);
38 void StopEmitter(
void);
40 void SetVelocity(
const tbMath::Vector2& velocity) { mVelocity = velocity; }
42 virtual void OnUpdate(
const float deltaTime)
override;
43 virtual void OnRender(
void)
const override;
46 tbImplementation::Particle CreateEmittedParticle(
void);
54 EmitterDefinition mEmitterDefinition;
Definition: tb_vector.hpp:48
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.hpp:28
std::string tbString
Definition: tb_string.hpp:335