Added Healthrelated events and start of HealthSystem, also reverted the crash "fix"

This commit is contained in:
verysecrethero
2016-01-06 13:36:53 +01:00
parent f3ff433bf7
commit f67f22c82d
7 changed files with 127 additions and 1 deletions
+2
View File
@@ -1,6 +1,7 @@
#include "Game.h"
#include "Collision/TriggerSystem.h"
#include "Collision/CollisionSystem.h"
#include "Game/HealthSystem.h"
Game::Game(int argc, char* argv[])
{
@@ -57,6 +58,7 @@ Game::Game(int argc, char* argv[])
m_SystemPipeline->AddSystem<EditorSystem>(m_Renderer);
m_SystemPipeline->AddSystem<CollisionSystem>();
m_SystemPipeline->AddSystem<TriggerSystem>();
m_SystemPipeline->AddSystem<HealthSystem>();
// Invoke network
if (m_Config->Get<bool>("Networking.StartNetwork", false)) {