Combos now show up as a particle when it is reset

This commit is contained in:
tleety
2015-10-14 18:07:15 +02:00
parent 471fbacfd6
commit 6c41911233
3 changed files with 38 additions and 3 deletions
+2 -3
View File
@@ -57,9 +57,6 @@ namespace dd
~PhysicsSystem();
EventRelay<PhysicsSystem, Events::CreateParticleSequence> m_ECreateParticleSequence;
bool CreateParticleSequence(const Events::CreateParticleSequence &event);
void RegisterComponents(ComponentFactory* cf) override;
void Initialize() override;
void Update(double dt) override;
@@ -116,6 +113,8 @@ namespace dd
bool OnPause(const dd::Events::Pause &event);
dd::EventRelay<PhysicsSystem, dd::Events::Contact> m_EContact;
bool OnContact(const dd::Events::Contact &event);
EventRelay<PhysicsSystem, Events::CreateParticleSequence> m_ECreateParticleSequence;
bool CreateParticleSequence(const Events::CreateParticleSequence &event);
//TODO: Fill struct with info needed.
struct EmitterHandler //TODO CHANGE NAMES