Sound in game! Using OpenAL. NOWHERE TO RUN

This commit is contained in:
Stiffly
2015-09-15 16:08:52 +02:00
parent ff00e2bf9c
commit 5695a8c068
4 changed files with 69 additions and 490 deletions
+2 -2
View File
@@ -75,9 +75,9 @@ public:
m_World->AddSystem<Systems::TransformSystem>();
m_World->ComponentFactory.Register<Components::Model>();
m_World->ComponentFactory.Register<Components::Template>();
m_World->AddSystem<Systems::Sound>();
m_World->SystemFactory.Register<Systems::Sound>([this]() { return new Systems::Sound(m_World.get(), m_EventBroker); });
m_World->AddSystem<Systems::Sound>();
m_World->ComponentFactory.Register<Components::Sprite>();