Removed Initialize function for systems.

This commit is contained in:
stiffly
2015-12-11 15:23:56 +01:00
parent 4da33ff4ec
commit 16d636a87c
5 changed files with 4 additions and 20 deletions
-2
View File
@@ -52,8 +52,6 @@ Game::Game(int argc, char* argv[])
m_LastTime = glfwGetTime();
testIntialize();
m_SystemPipeline->Initialize();
}
Game::~Game()
-5
View File
@@ -1,10 +1,5 @@
#include "PlayerSystem.h"
void PlayerSystem::Initialize()
{
EVENT_SUBSCRIBE_MEMBER(m_EKeyDown, &PlayerSystem::OnKeyDown);
EVENT_SUBSCRIBE_MEMBER(m_EKeyUp, &PlayerSystem::OnKeyUp);
}
void PlayerSystem::Update(World * world, ComponentWrapper & player, double dt)
{