tower destroy debris

This commit is contained in:
Tleety
2014-06-05 06:13:51 +02:00
parent 8f1f87512f
commit 3f6933da76
7 changed files with 337 additions and 717 deletions
+6
View File
@@ -9,10 +9,14 @@
#include "Components/Turret.h"
#include "Components/TurretShot.h"
#include "Components/Health.h"
#include "Components/TowerDebris.h"
#include "Components/Model.h"
#include "Events/SetVelocity.h"
#include "Events/CreateExplosion.h"
#include "Events/Collision.h"
#include "Events/Damage.h"
#include "Events/ApplyPointImpulse.h"
@@ -37,6 +41,8 @@ namespace Systems
EventRelay<TowerSystem, Events::Collision> m_ECollision;
bool OnCollision(const Events::Collision &e);
EventRelay<TowerSystem, Events::Damage> m_eDamage;
bool Damage(const Events::Damage &event);
private: