9 #ifndef _TurtleBrains_ParticleEmitter_h_
10 #define _TurtleBrains_ParticleEmitter_h_
12 #include "tb_particle_manager.h"
13 #include "../tb_graphic_list.h"
15 #include "../../core/tb_types.h"
16 #include "../../math/tb_vector.h"
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.h:47
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.h:21
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.h:28
std::string tbString
Definition: tb_string.h:335