Removed temporary event publishing code for PlaySound.
This commit is contained in:
@@ -42,14 +42,14 @@ void InputManager::Update(double dt)
|
||||
}
|
||||
}
|
||||
|
||||
if(m_CurrentKeyState[GLFW_KEY_Z])
|
||||
{
|
||||
Events::PlaySound e;
|
||||
e.Resource = "Sounds/WUB.mp3";
|
||||
e.Emitter = 66;
|
||||
e.Loop = true;
|
||||
EventBroker->Publish(e);
|
||||
}
|
||||
// if(m_CurrentKeyState[GLFW_KEY_Z]) //TEMP
|
||||
// {
|
||||
// Events::PlaySound e;
|
||||
// e.Resource = "Sounds/BGM/WUB.mp3";
|
||||
// e.Emitter = 66;
|
||||
// e.Loop = true;
|
||||
// EventBroker->Publish(e);
|
||||
// }
|
||||
|
||||
// Mouse buttons
|
||||
for (int i = 0; i <= GLFW_MOUSE_BUTTON_LAST; ++i)
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
#include "Events/LockMouse.h"
|
||||
#include "Events/GamepadAxis.h"
|
||||
#include "Events/GamepadButton.h"
|
||||
#include "Events/PlaySound.h" //Temp
|
||||
//#include "Events/PlaySound.h" //Temp
|
||||
|
||||
class InputManager
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user