Removed Initialize function for systems.
This commit is contained in:
@@ -52,8 +52,6 @@ Game::Game(int argc, char* argv[])
|
||||
m_LastTime = glfwGetTime();
|
||||
|
||||
testIntialize();
|
||||
|
||||
m_SystemPipeline->Initialize();
|
||||
}
|
||||
|
||||
Game::~Game()
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user