tower destroy debris
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user